Struct PolygonUnionResult
Immutable owning result of polygon-union construction.
struct PolygonUnionResult;
Successful results contain zero or more canonical polygon components.
Component coordinates use the established construction scalar, currently
double for every supported polygon-union input scalar.
Ordinary copies are shallow descriptor copies. They share immutable GC-backed geometry storage and do not deep-copy point data.
Component access returns read-only Polygon2View!double descriptors backed
by the immutable storage kept alive by the returned views themselves.
Geometry access requires succeeded == true. Check status or
succeeded before inspecting length, empty, or indexing the result.
PolygonUnionResult has status PolygonUnionStatus.
Properties
| Name | Type | Description |
|---|---|---|
empty[get]
|
bool | True when a successful union contains no polygon components. |
length[get]
|
ulong | Number of polygon components in a successful result. |
status[get]
|
PolygonUnionStatus | Checked construction outcome. |
succeeded[get]
|
bool | True exactly when a complete polygon union was constructed. |
Methods
| Name | Description |
|---|---|
opIndex
(index)
|
Returns one canonical polygon component as a read-only view. |