Constructor
(protected) new Vertex(x, y)
Create a new vertex.
Parameters:
Name | Type | Description |
---|---|---|
x |
number | The x coordinate of the vertex. |
y |
number | The y coordinate of the vertex. |
Members
hedgelist :Array.<Hedge>
Type:
- Array.<Hedge>
(readonly) id :number
Type:
- number
x :number
Type:
- number
y :number
Type:
- number
Methods
(protected) dispose()
Dispose the hedgelist of the vertex.
(protected) sortincident()
Sort the hedgelist to cw.
By this, the internal face is ccw.