sketch.block.center

Syntax

v := sketch.block.center(bp)

Get the center point of a block. For regular (3- or 4-sided) blocks, the function returns the coordinates of the geometric center of the block and for irregular blocks it returns the geometric center of the largest zone in the block.

Returns:

v - 2D vector

Arguments:

bp - block pointer