TransportPathfindResult (Class)

Namespace: Wrld.Transport

Result object for TransportApi.FindShortestPath().

Properties

bool IsPathFound

True if a path was found.

bool IsPathFound { get; private set; } 

ReadOnlyCollection<​TransportDirectedEdgeId​> PathDirectedEdgeIds

If a path was found, an ordered list of TransportDirectedEdgeId objects representing the directed edges traversed from start to goal. If a path was not found, an empty list.

ReadOnlyCollection<TransportDirectedEdgeId> PathDirectedEdgeIds { get; private set; } 

double FirstEdgeParam

The path start point, as a parameterised distance along the first element in PathDirectedEdgeIds, in range 0.0 to 1.0.

double FirstEdgeParam { get; private set; } 

double LastEdgeParam

The path end point, as a parameterised distance along the last element in PathDirectedEdgeIds, in range 0.0 to 1.0.

double LastEdgeParam { get; private set; } 

double DistanceMeters

The length of the path, in meters, if found; else 0.0.

double DistanceMeters { get; private set; } 

ReadOnlyCollection<​DoubleVector3​> PathPoints

A list of points in ECEF coordinates representing the vertices of a polyline running through the center of the ways traversed by the path from start to goal.

ReadOnlyCollection<DoubleVector3> PathPoints { get; private set; } 

ReadOnlyCollection<​double​> PathPointParams

A list of parameterized distances for each element of PathPoints, with each element in the range 0.0 to 1.0.

ReadOnlyCollection<double> PathPointParams { get; private set; } 
v0.8.203