Previous Up Next

27.6.2  Isosceles triangles in space

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.

  1. Three points.
  2. Three points and a real number.

Examples

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)
     



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



          

Previous Up Next