Class: Vertex

(protected) Vertex(x, y)

Vertex class.

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.
Source:

Members

hedgelist :Array.<Hedge>

Type:
Source:

(readonly) id :number

Type:
  • number
Source:

x :number

Type:
  • number
Source:

y :number

Type:
  • number
Source:

Methods

(protected) dispose()

Dispose the hedgelist of the vertex.
Source:

(protected) sortincident()

Sort the hedgelist to cw. By this, the internal face is ccw.
Source: