Node constructor
Node(
- dynamic i,
- dynamic x,
- dynamic y
Implementation
Node(i, x, y) {
// vertex index in coordinates array
this.i = i;
// vertex coordinates
this.x = x;
this.y = y;
// previous and next vertex nodes in a polygon ring
prev = null;
next = null;
// z-order curve value
z = null;
// previous and next nodes in z-order
prevZ = null;
nextZ = null;
// indicates whether this is a steiner point
steiner = false;
}