TransportPositionerPointOnGraph (Class)

Namespace: Wrld.Transport

Publishes the result of a TransportPositioner.

Methods

TransportPositionerPointOnGraph MakeEmpty ()

Static factory method to create an empty-value TransportPositionerPointOnGraph instance.

Returns: The new empty-value object.

Properties

bool IsMatched

True if a matched point on a transport network is found that fulfills the input constraints of the TransportPositioner.

bool IsMatched { get; private set; } 

bool IsWayReversed

If true, the TransportDirectedEdge referenced by DirectedEdgeId traverses its associated TransportWay in the reverse direction. The value is equal to DirectedEdgeId.IsWayReversed, the field is provided here for convenience.

bool IsWayReversed { get; private set; } 

TransportDirectedEdgeId DirectedEdgeId

If IsMatched is true, the id of the TransportDirectedEdge on which the matched point lies; else an empty value.

TransportDirectedEdgeId DirectedEdgeId { get; private set; } 

double ParameterizedPointOnWay

If IsMatched is true, a point on the center line polyline of the TransportWay associated with DirectedEdgeId. The point is expressed as a parameterised distance along the TransportWay center polyline in the range 0.0 to 1.0.

double ParameterizedPointOnWay { get; private set; } 

DoubleVector3 PointOnWay

If IsMatched is true, a point on the center line polyline of the TransportWay associated with DirectedEdgeId. The point is expressed in ECEF coordinates. If IsMatched is false, a zero vector.

DoubleVector3 PointOnWay { get; private set; } 

DoubleVector3 DirectionOnWay

If IsMatched is true, the local direction of the TransportWay center line at PointOnWay, in ECEF space. Where PointOnWay lies on a center line vertex, the direction of the polyline line segment immediately prior to the vertex is used, except for the first vertex, in which case the direction of the first line segment is returned. If IsMatched is false, a zero vector.

DoubleVector3 DirectionOnWay { get; private set; } 

double HeadingOnWayDegrees

If IsMatched is true, the heading angle, in degrees clockwise from North, of the local direction of the TransportWay center line at PointOnWay. If IsMatched is false, 0.0.

double HeadingOnWayDegrees { get; private set; } 
v0.8.203