### 27.3.5 Finding the midpoint of a segment in space

See Section 26.5.9 for midpoints in the plane.

The midpoint command finds the midpoint of two points.

- midpoint takes two arguments: P, Q, two points (which can also be given as a list).
- midpoint(P,Q) draws and returns the midpoint of the segment determined by these points.

#### Example

MP:=midpoint(point(1,4,0),point(1,-2,0)):; coordinates(MP)

| ⎡ ⎣ | 1,1,0 | ⎤ ⎦