zone.near

Syntax

z := zone.near(v)

Note

  • In the description below, the following correspondence is assumed between 3D and 2D analysis:
    • 3D zone faces (surfaces) <-> 2D zone edges (lines)

Get the nearest zone to 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 nearest zone to v

Arguments:

v - a point in space