Class EdgePathExtensions
Contains extension methods from the edge path.
Inheritance
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class EdgePathExtensions
Methods
AddToList<T>(EdgePath<T>, List<EdgePath<T>>)
Adds the vertices in this path to the given list.
Declaration
public static void AddToList<T>(this EdgePath<T> path, List<EdgePath<T>> pathList)
Parameters
|
EdgePath<T>
path
|
|
List<EdgePath<T>>
pathList
|
Type Parameters
|
T
|
AddToListAsVertices<T>(EdgePath<T>, List<UInt32>)
Adds the vertices in this path to the given list.
Declaration
public static void AddToListAsVertices<T>(this EdgePath<T> path, List<uint> vertices)
Parameters
|
EdgePath<T>
path
|
|
List<System.UInt32>
vertices
|
Type Parameters
|
T
|
AddToListReverse<T>(EdgePath<T>, List<EdgePath<T>>)
Adds the vertices in this path to the given list.
Declaration
public static void AddToListReverse<T>(this EdgePath<T> path, List<EdgePath<T>> pathsList)
Parameters
|
EdgePath<T>
path
|
|
List<EdgePath<T>>
pathsList
|
Type Parameters
|
T
|
AddToListReverseAsVertices<T>(EdgePath<T>, List<UInt32>)
Adds the vertices in this path to the given list.
Declaration
public static void AddToListReverseAsVertices<T>(this EdgePath<T> path, List<uint> vertices)
Parameters
|
EdgePath<T>
path
|
|
List<System.UInt32>
vertices
|
Type Parameters
|
T
|
Append(EdgePath<Single>, EdgePath<Single>)
Appends the given path in reverse to the edge path.
Declaration
public static EdgePath<float> Append(this EdgePath<float> path, EdgePath<float> reversePath)
Parameters
|
EdgePath<System.Single>
path
|
|
EdgePath<System.Single>
reversePath
|
Returns
|
EdgePath<System.Single>
|
Append<T>(EdgePath<T>, EdgePath<T>, WeightHandler<T>)
Appends the given path in reverse to the edge path.
Declaration
public static EdgePath<T> Append<T>(this EdgePath<T> path, EdgePath<T> reversePath, WeightHandler<T> weightHandler)where T : struct
Parameters
|
EdgePath<T>
path
|
|
EdgePath<T>
reversePath
|
|
WeightHandler<T>
weightHandler
|
Returns
|
EdgePath<T>
|
Type Parameters
|
T
|
HasVertex<T>(EdgePath<T>, UInt32)
Returns true if this path contains the given vertex.
Declaration
public static bool HasVertex<T>(this EdgePath<T> path, uint vertex)
Parameters
|
EdgePath<T>
path
|
|
System.UInt32
vertex
|
Returns
|
System.Boolean
|
Type Parameters
|
T
|
StripEdges<T>(EdgePath<T>)
Strips all edge-id's.
Declaration
public static void StripEdges<T>(this EdgePath<T> path)
Parameters
|
EdgePath<T>
path
|
Type Parameters
|
T
|
StripSource<T>(EdgePath<T>)
Strips the source vertex.
Declaration
public static void StripSource<T>(this EdgePath<T> path)
Parameters
|
EdgePath<T>
path
|
Type Parameters
|
T
|
StripTarget<T>(EdgePath<T>)
Strips the target vertex.
Declaration
public static void StripTarget<T>(this EdgePath<T> path)
Parameters
|
EdgePath<T>
path
|
Type Parameters
|
T
|
ToList<T>(EdgePath<T>)
Converts the path to a list.
Declaration
public static List<EdgePath<T>> ToList<T>(this EdgePath<T> path)
Parameters
|
EdgePath<T>
path
|
Returns
|
List<EdgePath<T>>
|
Type Parameters
|
T
|
ToListAsVertices<T>(EdgePath<T>)
Converts the path to a list of vertices.
Declaration
public static List<uint> ToListAsVertices<T>(this EdgePath<T> path)
Parameters
|
EdgePath<T>
path
|
Returns
|
List<System.UInt32>
|
Type Parameters
|
T
|