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

NameTypeDescription
empty[get] boolTrue when a successful clipping result contains no 1D components.
length[get] ulongNumber of positive-length components in a successful result.
status[get] SegmentPolygonClipStatusChecked construction outcome.
succeeded[get] boolTrue exactly when complete clipping construction succeeded.

Methods

NameDescription
opIndex (index) Returns one positive-length component in query traversal order.