Previous Up Next

13.7.1  Draw a triangle in space: triangle

See section 12.8.1 for the triangle command in the plane.

The triangle takes as arguments three points.

triangle returns and draws the triangle determined by these points.

Input:

A := point(0,0,0); B := point(3,3,3); C := point(0,3,0)

then:

triangle(A,B,C)

Output:


Previous Up Next