The resulting cell inside the Voronoi diagram.
Variables
Methods
getCircle():Circle
Returns an enclosing circle collider of the Cell.
Implementation note: Not the best possible solution and may produce artifacts.
pointIntersection(x:Float, y:Float):Int
Tests if given position is inside, on, or outside of the cell.
Returns:
- -1: point is outside the perimeter of the cell
- 0: point is on the perimeter of the cell
- 1: point is inside the perimeter of the cell