Enum SegmentPolygonClipStatus

Outcome of checked segment/polygon clipping construction.

enum SegmentPolygonClipStatus : ubyte { ... }

SegmentPolygonClipStatus.init is notComputed, keeping a default result distinct from a successful empty clipping result.

Invalid polygon topology and non-finite query coordinates are precondition violations and are not represented by this enum.

Runtime allocation/resource exhaustion follows normal D runtime failure semantics and is not represented by this enum.

Enum members

NameDescription
notComputed No clipping operation has produced this result.
success A complete one-dimensional clipping result was constructed.
unrepresentableConstruction Exact retained topology exists, but the construction scalar cannot represent it faithfully.