Previous Up Next

12.7.2  Isosceles triangles in space: isosceles_triangle

See section 11.8.2 for isosceles triangles in the plane.

The isosceles_triangle command returns and draws an isosceles triangle. It takes as arguments one of the following:

isosceles_triangle can take an optional fourth argument, which is a variable which will be assigned to the third vertex of the triangle.
Input:

isosceles_triangle(A,B,[P,3*pi/4],C)

then:

coordinates(C)

Output:

[(-3*sqrt(2) - 3)/2, (-3*sqrt(2) -3)/2,
(-3*sqrt(2) + 6)/2]

Previous Up Next