See Section 26.7.4 for equilateral triangles in the plane.
The equilateral_triangle command returns and draws equilateral triangles.
If the argument var is given, it will be assigned the value of C.
A,B,p:=point(0,0,0),point(3,3,3),point(0,0,3); equilateral_triangle(A,B,P) |
A,B,P:=point(0,0,0),point(3,3,3),point(0,0,3); equilateral_triangle(A,B,P,C); simplify(coordinates(C)) |
|