::hwat::core::GetClosestNodeByWindow - Finds the closest node in the assembly. This procedure creates a window around the required location to limit the search to the nodes inside the window and then finds the closest.
GetClosestNodeByWindow x y z d_tolerance n_exemptNodes
x |
X-coordinate of the location. |
y |
Y-coordinate of the location. |
z |
Z-coordinate of the location. |
d_tolerance |
The tolerance to use to create the window. The window is a square of side twice the tolerance, with the passed coordinates as center (default = 10.0). |
n_exemptNodes |
A Tcl list of nodes to exempt from the search(default = ""). |
The ID of the node if successful, {} otherwise.
::hwat::core::GetClosestNodeByWindow –3434.33 8734.89 8436.55 10.0 [list 120 121]