Previous Up Next

11.8.1  Arbitrary triangles in the plane: triangle

See section 12.7.1 for the triangle command in space.

The triangle command takes as arguments three points or a list of three points.

triangle returns and draws the triangle with the given vertices.
Input:

triangle(-1,i,1+i)

Output:


Previous Up Next