See Section 24.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:=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)) |
|