Struct GeodesicIntersectionPoint
One enumerated intersection of two oriented geodesics.
struct GeodesicIntersectionPoint(T)
if (isGeodesyScalar!T);
Distances are signed displacements from the two line origins. referenceDistance is the L1 rank relative to the caller reference pair.
.init is invalid.
Properties
| Name | Type | Description |
|---|---|---|
coincidence[get]
|
GeodesicIntersectionCoincidence | Coincidence relationship of the supporting geodesics. |
distanceOnFirst[get]
|
T | Signed displacement from the first line origin. |
distanceOnSecond[get]
|
T | Signed displacement from the second line origin. |
isValid[get]
|
bool | True when this enumerated intersection is valid. |
position[get]
|
GeographicCoordinate!T | Geographic position of the enumerated intersection. |
referenceDistance[get]
|
T | L1 ranking distance relative to the caller reference pair. |
Example
Example using the all-intersection point type.
GeodesicIntersectionPoint!double point;
assert(!point .isValid);