VertexGetNumberOfEdges Method (EdgeType, Vertex, Direction) |
Gets the number of edges from or to this vertex for the given edge type and the given other Vertex.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public long GetNumberOfEdges(
EdgeType edgeType,
Vertex headVertex,
Direction dir
)
Public Function GetNumberOfEdges (
edgeType As EdgeType,
headVertex As Vertex,
dir As Direction
) As Long
public:
long long GetNumberOfEdges(
EdgeType^ edgeType,
Vertex^ headVertex,
Direction dir
)
member GetNumberOfEdges :
edgeType : EdgeType *
headVertex : Vertex *
dir : Direction -> int64
Parameters
- edgeType
- Type: VelocityGraphEdgeType
an EdgeType - headVertex
- Type: VelocityGraphVertex
Vertex at other end of the edge - dir
- Type: VelocityGraph.Frontenac.BlueprintsDirection
direction, one of: Out, In, Both
Return Value
Type:
Int64The number of edges.
See Also