VertexTypeGetEdges Method (EdgeType, Vertex, Direction, Vertex) |
Get all edges found between two vertices
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public IEnumerable<IEdge> GetEdges(
EdgeType edgeType,
Vertex vertex1,
Direction dir,
Vertex vertex2 = null
)
Public Function GetEdges (
edgeType As EdgeType,
vertex1 As Vertex,
dir As Direction,
Optional vertex2 As Vertex = Nothing
) As IEnumerable(Of IEdge)
public:
IEnumerable<IEdge^>^ GetEdges(
EdgeType^ edgeType,
Vertex^ vertex1,
Direction dir,
Vertex^ vertex2 = nullptr
)
member GetEdges :
edgeType : EdgeType *
vertex1 : Vertex *
dir : Direction *
?vertex2 : Vertex
(* Defaults:
let _vertex2 = defaultArg vertex2 null
*)
-> IEnumerable<IEdge>
Parameters
- edgeType
- Type: VelocityGraphEdgeType
Restrict to this type of edge - vertex1
- Type: VelocityGraphVertex
Start Vertex - dir
- Type: VelocityGraph.Frontenac.BlueprintsDirection
Follow edges in this direction - vertex2 (Optional)
- Type: VelocityGraphVertex
End Vertex
Return Value
Type:
IEnumerableIEdgeAn enumeration of edges
See Also