sketch.block.near

Syntax

bp := sketch.block.near(sp,v)

Get the nearest block to v. Will return null if there are no blocks in the sketch set.

Returns:

bp - pointer to the nearest block to v.

Arguments:

sp - sketch set pointer

v - 2D vector