Struct SegmentPolygonClipResult
Immutable owning result of segment/polygon clipping.
struct SegmentPolygonClipResult;
Successful results contain zero or more positive-length Segment2!double components in query traversal order.
Isolated point contacts are intentionally omitted by the ADR-0024 one-dimensional regularization contract.
Ordinary copies share immutable GC-backed component storage and do not deep-copy geometry.
Geometry access requires succeeded == true. Check status or succeeded before inspecting length, empty, or indexing the result.
Properties
| Name | Type | Description |
|---|---|---|
empty[get]
|
bool | True when a successful clipping result contains no 1D components. |
length[get]
|
ulong | Number of positive-length components in a successful result. |
status[get]
|
SegmentPolygonClipStatus | Checked construction outcome. |
succeeded[get]
|
bool | True exactly when complete clipping construction succeeded. |
Methods
| Name | Description |
|---|---|
opIndex
(index)
|
Returns one positive-length component in query traversal order. |