See Section 26.7.2 for isosceles triangles in the plane.
The isosceles_triangle command returns and draws an isosceles triangle. It can take its arguments in two different ways.
If the variable name var is given, it will be given the value of C, the third vertex of the triangle.
If the variable name var is given, it will be given the value of the third vertex of the triangle.
A,B,P:=point(0,0,0),point(3,3,3),point(0,0,3); isosceles_triangle(A,B,P); |
A,B,P:=point(0,0,0),point(3,3,3),point(0,0,3); isosceles_triangle(A,B,[P,3*pi/4]) |
A,B,P:=point(0,0,0),point(3,3,3),point(0,0,3); isosceles_triangle(A,B,[P,3*pi/4],C); coordinates(C) |
|