General polygons in space: polygon

### 14.9.3 General polygons in space: polygon

See Section 13.10.3 for general polygons in the plane.

The polygon command creates general polygons in space.

- polygon takes one argument:
  S, a sequence of points.
- polygon(S)returns and draws the polygon whose vertices are the given points.

#### Example

Input:

A:= point(0,0,0);
B:= point(3,3,3);
C:= point(0,0,3);
D:= point(-3,-3,0);
E:= point(-3,-3,-3)
polygon(A,B,C,D,E)

Output: