gp.near

Syntax

gp = gp.near(v)

Get the gridpoint nearest v; will return null if there are no gridpoints in the model. Excludes gridpoints only connected to mechanically null zones.

Returns:gp - the pointer to the gridpoint closest to v
Arguments:v - a point in space