Function: near

Syntax

near (<point1>,<point2>,<point3>)

Returns

The nearer of two points to another point.

Parameters

Examples

The following sets nrst to whichever of p1 and p2 is nearer to the origin (p0).

point nrst = near(p0,p1,p2)

See Also

Functions:

far (point)