Returns the distance between two points.
graphics-ports
separation x1 y1 x2 y2 => dist
x1⇩ |
An integer. |
y1⇩ |
An integer. |
x2⇩ |
An integer. |
y2⇩ |
An integer. |
dist |
A real number. |
The function separation
returns the distance between points (x1 y1) and (x2 y2).
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:33:02