block.inside

Syntax

blp = block.inside(v<,b>)

Return a block if the input location is inside. Search only visible blocks if set true; default is false. A value of null is returned if the point does not lie within any block.

The logic assumes a convex block. So the function will return null for blocks created by perging (see block merge-start).

Returns:blp - block pointer
Arguments:v`+ - point <:bool:`b> - boolean indicator to use visible blocks only