geom.node.near

Syntax

n = geom.node.near(g,v<,f>)

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

Returns:

n - node pointer

Arguments:

g - geometry set pointer

v - position

f - optional search radius