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

NameTypeDescription
isValid[get] boolTrue when caller-owned storage has been bound consistently.

Methods

NameDescription
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);