zone.near.all

Syntax

z := zone.near.all(v)

Get the nearest zone to v. Will return null if there are no zones in the model. Includes all null zones.

This function actually checks the surface of zone faces for distance, and treats a point inside a zone as being of distance 0 from the zone.

Returns:z - the pointer to the nearest zone to v
Arguments:v - a point in space