Declaration
public Vertex(
Hex hex,
int fullPos
)
Summary
Constructs a
Kite.Vertex from any position along the perimeter of
hex.
Parameters
Hex | hex |
Hexagon to compute vertex from. |
int | fullPos |
Position of the vertex counting clockwise from the vertex at the midpoint of the hexagon’s top edge. Note
that even numbers yield midpoints, odd numbers yield vertices of the hexagon. |
Remarks
Note that this constructor cannot construct a vertex that is at the center of a hexagon. Use
Vertex(Hex, Kite.Vertex.Position) for that.