Parallelograms in space

### 27.7.4 Parallelograms in space

See Section 26.8.4 for parallelograms in the plane.

The parallelogram command creates parallelograms in space.

- parallelogram takes three mandatory arguments and one optional argument:
  - A,B,C, three points.
  - var, a variable name.
- parallelogram(A,B,C ⟨,var⟩) returns and draws the parallelogram ABCD determined by A,B and C.

  If the option var is given, the point D will be assigned to it.

#### Examples

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

parallelogram(A,B,C,D); coordinates(D)

| ⎡ ⎣ | −3,−3,0 | ⎤ ⎦