Function GeodesicSegmentNearestResult.signedCrossTrack

Signed perpendicular distance from the supporting geodesic to target.

T signedCrossTrack() const pure nothrow @nogc @property @safe;

Positive is right of the oriented A->B track; negative is left. This remains a supporting-line quantity when the bounded nearest point is clamped to an endpoint.

Example

Example reading signed cross-track distance.

GeodesicSegmentNearestResult!double result;
assert(result.signedCrossTrack != result.signedCrossTrack);
}