Previous Up Next

25.6.4  Equilateral triangles in space

See Section 24.7.4 for equilateral triangles in the plane.

The equilateral_triangle command returns and draws equilateral triangles.

Examples

A:=point(0,0,0); B:=point(3,3,3); P:=point(0,0,3); equilateral_triangle(A,B,P)
A:=point(0,0,0); B:=point(3,3,3); P:=point(0,0,3); equilateral_triangle(A,B,P,C); simplify(coordinates(C))
     



−3 
6
+6
4
,
−3 
6
+6
4
,
6
+3
2



          

Previous Up Next