near (<point1>,<point2>,<point3>)
The nearer of two points to another point.
<point>
The point to test.
<point1>
First point to
compare it with.
<point2>
Second point to
compare it with.
The following sets nrst to whichever of p1 and p2 is nearer to the origin (p0).
point nrst = near(p0,p1,p2)
Functions: |
far (point) |