Struct GeodesicClosestIntersectionResult
Result of the globally closest intersection of two oriented geodesics.
struct GeodesicClosestIntersectionResult(T)
if (isGeodesyScalar!T);
Properties
| Name | Type | Description |
|---|---|---|
coincidence[get]
|
GeodesicIntersectionCoincidence | Coincidence relationship of the two supporting oriented geodesics. |
distanceOnFirst[get]
|
T | Signed distance from the first oriented line origin. Signed displacement from the first line origin. |
distanceOnSecond[get]
|
T | Signed distance from the second oriented line origin. Signed displacement from the second line origin. |
isValid[get]
|
bool | True when the result was produced by a successful closest search. |
position[get]
|
GeographicCoordinate!T | Geographic position of the selected intersection representative. Geographic position of the enumerated intersection. |
referenceDistance[get]
|
T | L1 displacement-space distance to the caller reference pair. L1 ranking distance relative to the caller reference pair. |
Example
Example using the closest-intersection result type.
GeodesicClosestIntersectionResult!double result;
assert(!result .isValid);
assert(result .coincidence
== GeodesicIntersectionCoincidence .distinct);