Declaration
public Vertex(
Hex hex,
int fullPos
)
Summary
Constructs a
Floret.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 that is above the hexagon’s top edge. Note that
numbers that are 1 modulo 3 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, Floret.Vertex.Position) for that.