27.6.1 Drawing triangles in space
See Section
26.7.1
for the
triangle
command in the plane.
The
triangle
command creates triangles.
triangle
takes three arguments:
A
,
B
,
C
, three points.
triangle(
P
,
Q
,
R
)
returns and draws the triangle with vertices
A
,
B
and
C
.
Example
A
:=
point
(0,0,0);
B
:=
point
(3,3,3);
C
:=
point
(0,3,0);
triangle
(
A
,
B
,
C
)