wall.facet.near

Syntax

wf = wall.facet.near(vp<,wp,frad>)

Find the closest facet to a point. If wp is specified, then only facets with this wall are returned. If frad is specified, then the search radius is limited.

Returns:

wf - facet pointer

Arguments:

vp - position

wp - optional wall pointer

frad - optional search radius