Struct GeodesicIntersectionSolver
Prepared ellipsoid-dependent state for repeated geodesic intersections.
struct GeodesicIntersectionSolver(T)
if (isGeodesyScalar!T);
Construction performs the invariant setup required by the intersection family once. In particular, ellipsoid-dependent next-intersection spacing is prepared here instead of being recomputed for every pair of lines.
The prepared value is immutable-by-convention after construction and can be reused across independent line pairs. One-shot overloads remain available for occasional calls and use the same mathematical kernels.
.init is invalid.
Properties
| Name | Type | Description |
|---|---|---|
isValid[get]
|
bool | True when invariant intersection-family setup was prepared successfully. |
Methods
| Name | Description |
|---|---|
tryFromGeodesic
(solver, result)
|
Prepare reusable invariant state for the oriented-intersection family. |
Example
Example using reusable intersection-family state.
GeodesicIntersectionSolver!double prepared;
assert(!prepared .isValid);