zone.near.map

Syntax

m = zone.near.map(v,f)

Finds all zones with centroids within f distance of position v1, and returns all of them in a map.

The may key is the zone ID nubmer, and the map value is a pointer to the zone.

No check is made for “live” status or against the constitutive model (even Null).

Returns:

m - A map of all zones within the sphere specified. Key is zone id number, value is zone pointer.

Arguments:

v - a point in space

f - a distance representing a radius around point v.