Function GeodesicSegmentNearestResult.nearestPoint

True nearest point on the bounded segment.

GeographicCoordinate!T nearestPoint() const pure nothrow @nogc @property @safe;

Example

Example reading the nearest bounded-segment point.

GeodesicSegmentNearestResult!double result;
assert(!result.isValid);
cast(void) result.nearestPoint;