Constructor
new Edge(shape)
Construct new instance of edge
- Source:
Parameters:
Name | Type | Description |
---|---|---|
shape |
Shape
|
Shape of type Segment of Arc |
Members
bv :*
Edge inclusion flag (Flatten.INSIDE, Flatten.OUTSIDE, Flatten.BOUNDARY)
- Source:
Type:
-
*
bvEnd :Boolean
End inclusion flag (inside/outside/boundary)
- Source:
Type:
-
Boolean
bvStart :Boolean
Start inclusion flag (inside/outside/boundary)
- Source:
Type:
-
Boolean
overlap :*
Overlap flag for boundary edge (Flatten.OVERLAP_SAME/Flatten.OVERLAP_OPPOSITE)
- Source:
Type:
-
*
Methods
contains(pt)
Returns true if point belongs to the edge, false otherwise
- Source:
Parameters:
Name | Type | Description |
---|---|---|
pt |
Point
|
test point |
setInclusion(polygon)
Set inclusion flag of the edge with respect to another polygon
Inclusion flag is one of Flatten.INSIDE, Flatten.OUTSIDE, Flatten.BOUNDARY
- Source:
Parameters:
Name | Type | Description |
---|---|---|
polygon |
setOverlap(edge)
Set overlapping between two coincident boundary edges
Overlapping flag is one of Flatten.OVERLAP_SAME or Flatten.OVERLAP_OPPOSITE
- Source:
Parameters:
Name | Type | Description |
---|---|---|
edge |