See section 13.9.1 for hexagons in space.
The hexagon command takes two mandatory arguments and up to four optional arguments. The two mandatory arguments points A and B.
hexagon returns and draws the regular hexagon
ABCDEF, where the vertices are counterclockwise.
Input:
Output:
The optional arguments will need to be
variable names, which will be assigned in order to vertices C
through F.
Input:
Output:
Input:
Output: