new ActiveRegion()
For each pair of adjacent edges crossing the sweep line, there is
an ActiveRegion to represent the region between them. The active
regions are kept in sorted order in a dynamic dictionary. As the
sweep line crosses each vertex, we update the affected regions.
- Source:
Members
dirty :boolean
Marks regions where the upper or lower edge has changed, but we haven't
checked whether they intersect yet.
Type:
- boolean
- Source:
eUp :libtess.GluHalfEdge
The upper edge of the region, directed right to left
Type:
- Source:
fixUpperEdge :boolean
marks temporary edges introduced when we process a "right vertex" (one
without any edges leaving to the right)
Type:
- boolean
- Source:
inside :boolean
Whether this region is inside the polygon.
Type:
- boolean
- Source:
nodeUp :libtess.DictNode
Dictionary node corresponding to eUp edge.
Type:
- Source:
sentinel :boolean
Marks fake edges at t = +/-infinity.
Type:
- boolean
- Source:
windingNumber :number
Used to determine which regions are inside the polygon.
Type:
- number
- Source:
Methods
regionAbove() → {libtess.ActiveRegion}
Returns the ActiveRegion above this one.
- Source:
Returns:
- Type
- libtess.ActiveRegion
regionBelow() → {libtess.ActiveRegion}
Returns the ActiveRegion below this one.
- Source:
Returns:
- Type
- libtess.ActiveRegion