See section 13.4.5 for midpoints in space.
The midpoint command takes two points (or a list of two points) as arguments and draws the midpoint of the segment determined by these points.