Show / Hide Table of Contents

Class RouterExtension

Contains router extensions for the tree builder algorithm.

Inheritance
System.Object
RouterExtension
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 static class RouterExtension

Methods

CalculateTree(RouterBase, Profile, Coordinate, Single)

Tries to calculate a tree starting at the given location.

Declaration
public static Tree CalculateTree(this RouterBase router, Profile profile, Coordinate origin, float max)
Parameters
RouterBase router

Profile profile

Coordinate origin

System.Single max

Returns
Tree

CalculateTree(RouterBase, Profile, Coordinate, Single, CancellationToken)

Tries to calculate a tree starting at the given location.

Declaration
public static Tree CalculateTree(this RouterBase router, Profile profile, Coordinate origin, float max, CancellationToken cancellationToken)
Parameters
RouterBase router

Profile profile

Coordinate origin

System.Single max

CancellationToken cancellationToken

Returns
Tree

CalculateTree(RouterBase, Profile, RouterPoint, Single)

Tries to calculate a tree starting at the given location.

Declaration
public static Tree CalculateTree(this RouterBase router, Profile profile, RouterPoint origin, float max)
Parameters
RouterBase router

Profile profile

RouterPoint origin

System.Single max

Returns
Tree

CalculateTree(RouterBase, Profile, RouterPoint, Single, CancellationToken)

Tries to calculate a tree starting at the given location.

Declaration
public static Tree CalculateTree(this RouterBase router, Profile profile, RouterPoint origin, float max, CancellationToken cancellationToken)
Parameters
RouterBase router

Profile profile

RouterPoint origin

System.Single max

CancellationToken cancellationToken

Returns
Tree

TryCalculateTree(RouterBase, Profile, RouterPoint, Single)

Tries to calculate a tree starting at the given location.

Declaration
public static Result<Tree> TryCalculateTree(this RouterBase router, Profile profile, RouterPoint origin, float max)
Parameters
RouterBase router

Profile profile

RouterPoint origin

System.Single max

Returns
Result<Tree>

TryCalculateTree(RouterBase, Profile, RouterPoint, Single, CancellationToken)

Tries to calculate a tree starting at the given location.

Declaration
public static Result<Tree> TryCalculateTree(this RouterBase router, Profile profile, RouterPoint origin, float max, CancellationToken cancellationToken)
Parameters
RouterBase router

Profile profile

RouterPoint origin

System.Single max

CancellationToken cancellationToken

Returns
Result<Tree>

Back to top Built by Itinero, MIT licensed.