the Rectangle that represents the absolute bounds of the vertex.
the CellState that represents the vertex.
the Point that represents the nearest neighbour point on the given edge.
Boolean that specifies if the orthogonal projection onto the perimeter should be returned.
If this is false
, then the intersection of the perimeter and the line between the next and the center point is returned.
the resulting Point projected to the perimeter.
Describes a perimeter for the given bounds.