Struct GeodesicIntersectionWorkspace
Caller-owned reusable scratch storage for all-intersection enumeration.
struct GeodesicIntersectionWorkspace(T)
if (isGeodesyScalar!T);
No allocation is performed by the enumeration core.
Properties
| Name | Type | Description |
|---|---|---|
isValid[get]
|
bool | True when caller-owned storage has been bound consistently. |
Methods
| Name | Description |
|---|---|
tryFromStorage
(starts, skip, found, coincidentCenters, result)
|
Bind caller-owned scratch arrays into a reusable enumeration workspace. |
Example
Example using the workspace type.
GeodesicIntersectionWorkspace!double workspace;
assert(!workspace .isValid);