geom.poly.near

Syntax

p = geom.poly.near(g,v<,f>)

Find the closest polygon to a point. If f is specified, then the search radius is limited.

Returns:

p - polygon pointer

Arguments:

g - geometry set pointer

v - position

f - optional search radius