See Section 27.8.1 for hexagons in space.
The hexagon command creates hexagons.
If the arguments varc, vard, vare, varf are given, then the points C,D,E and F will be assigned to them.
| hexagon(0,1) | 
 
| hexagon(0,1,C,D,E,F) | 
 
| affix(C), affix(D), affix(E), affix(F) | 
| 
 |