geom.set.poly.closest

Syntax

v = geom.set.poly.closest(g,vp<,f>)

Get closest node coordinate vector on polygons from the position supplied.

Note that this does not check unattached nodes or edges. If you need to include those objects use geom.set.closest.

Returns:

v - node coordinate vector

Arguments:

g - geometric set pointer

vp - 3d vector position

f - initial search radius( optional float)