geIsPolygonReentrant
geIsPolygonReentrant(
d_cellview
l_points
)
=> t / nil
Description
Determines whether a polygon is self-intersecting.
In a self-intersecting polygon, one part of the polygon overlaps another part of the polygon. Self-touching is not considered self-intersecting.
Arguments
|
Database ID of the cellview containing the polygon to check. |
|
Value Returned
Examples
The following example returns nil. The polygon is self-touching, but not self-intersecting.
geIsPolygonReentrant( geGetEditCellView( ) list( 0:0 10:0 10:5 5:5 5:0 0:5 ) )
The following example returns t. The polygon is self-intersecting.
geIsPolygonReentrant( geGetEditCellView( ) list( 0:0 10:0 10:5 5:5 5:-5 0:-5 ) )
Related Topics
Return to top