Previous Up Next

14.8.3  Rectangles in space: rectangle

See Section 13.9.3 for rectangles in the plane.

The rectangle command returns and draws a rectangle. It can take its arguments in different ways.


Three points.


Example.
Input:

A:= point(0,0,0);
B:= point(3,3,3);
P:= point(0,0,3)
rectangle(A,B,P)

Output:


Three points and a real number.


Examples.


Previous Up Next