Struct SegmentPolygonRelationship
Reduced topological relationship of a closed segment to a polygon.
struct SegmentPolygonRelationship;
Each field is an existential fact over the complete closed segment.
No contact counts, ordering, coordinates, contacted-ring identity, clipping geometry, or application-specific policy are retained.
SegmentPolygonRelationship contains four false facts.
A successful classification of a finite segment against a valid polygon
always has at least one of hasExterior, hasBoundary, or hasInterior
set.
Fields
| Name | Type | Description |
|---|---|---|
hasBoundary
|
bool | True when at least one segment point lies on the polygon boundary. |
hasBoundaryOverlap
|
bool | True when a positive-length subsegment lies on the polygon boundary. |
hasExterior
|
bool | True when at least one segment point lies in the polygon exterior. |
hasInterior
|
bool | True when at least one segment point lies in the polygon interior. |