Previous Up Next

25.8.1  Hexagons in space

See Section 24.9.1 for hexagons in the plane.

The hexagon command creates hexagons in space.

Examples

A:=point(0,0,0); B:=point(3,3,3); P:=point(0,0,3); hexagon(A,B,P)
hexagon(A,B,P,C,D,E,F); simplify(coordinates(C))
     



−3 
6
+18
4
,
−3 
6
+18
4
,
6
+9
2



          

Previous Up Next