See section 12.12.4 for coordinates in three-dimensional geometry.
The coordinates command takes as argument a point or line.
If the argument is a point, coordinates returns a list consisting of the abscissa and ordinate.
If the argument is a line, coordinates returns a list of
two points on the line, in the order determined by the direction of
the line.
Input:
or:
or:
Output:
Input:
or:
or:
or:
Output:
Input:
or:
Input:
Output:
Input:
Output:
Input:
Output:
coordinates can also take a sequence or list of points as an
argument; it then returns a sequence or list of the coordinates of
the points.
Input:
or:
Output:
Note that if the argument is a list of real numbers, it is
interpreted as a list of points on the real axis.
Input:
Output: