Function GeodesicSegmentNearestResult.nearestDistance

Unsigned distance from target to nearestPoint.

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

Example

Example reading the nearest distance.

GeodesicSegmentNearestResult!double result;
assert(result.nearestDistance != result.nearestDistance);