/** * Constructs a node with the specified coordinates. * (Does not add the node to the mesh.) * @param x the x coordinate. * @param y the y coordinate. */ public Node(float x, float y) { _prev = null; _next = null; _mark = 0; _tri = null; _hash = System.identityHashCode(this); setPosition(x,y); }