# gp.near

Syntax

gp := gp.near(v<,sgrp>)

Get the grid point nearest v; will return null if there are no grid points in the model.

If the optional second argument sgrp is given, the grid point will only be selected if it, a face connected to it, or a zone connected to it belongs to that group.

Returns: gp - the pointer to the gridpoint closest to v v - a point in space sgrp - an optional group name used to restrict the search