zone.near

Syntax

z := zone.near(v)

Get the zone nearest v. Will return null if there are no zones in the model. Excludes mechanically 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 zone nearest v
Arguments:v - a point in space