Method GetPoint
GetPoint(int)
Gets one vertex of the hexagon.
public Vector2 GetPoint(int index)
Parameters
indexintThe zero-based vertex index in the range 0 to 5.
Returns
- Vector2
The requested vertex position.
Remarks
Vertex order advances in 60-degree steps starting from 0 degrees for Pinwheel.Vista.Geometric.Hexagon2D.Orientation.Right and -30 degrees for Pinwheel.Vista.Geometric.Hexagon2D.Orientation.Top.