Class MaxDistanceSplitter
An algorithm that splits edges in two or more pieces by adding an intermediate vertex when a given distance is exceeded.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class MaxDistanceSplitter : AlgorithmBase, IAlgorithm
Constructors
MaxDistanceSplitter(RoutingNetwork, Action<UInt32, UInt32>, Single, Action<UInt32>)
Creates a new distance splitter algorithm instance.
Declaration
public MaxDistanceSplitter(RoutingNetwork network, Action<uint, uint> edgeSplit, float maxDistance = 5000F, Action<uint> newVertex = null)
Parameters
RoutingNetwork
network
|
Action<System.UInt32, System.UInt32>
edgeSplit
|
System.Single
maxDistance
|
Action<System.UInt32>
newVertex
|
Methods
DoRun(CancellationToken)
Executes the actual algorithm.
Declaration
protected override void DoRun(CancellationToken cancellationToken)
Parameters
CancellationToken
cancellationToken
|