block.gp.near

Syntax

bgpp = block.gp.near(v<,b>)

Get the gridpoint nearest a given position. The optional second input can be used to search only visible blocks. Set b = true to search only visible blocks. The default is b = false (searching all blocks).

Returns:bgpp - block gridpoint pointer
Arguments:v - position b - optional flag that determines if only visible blocks are searched b = \(true\)). Be default b = \(false\).