# sketch.block.grid.pos

Syntax

v := sketch.block.grid.pos(bp,ii,ij)

The function only applies to regular (3- or 4-sided) blocks with structured mesh.

Get a gridpoint position. Returns a 2D vector of the $$x,y$$ position of indexed gridpoint (i,j). Values of i and j will range between 0 and sketch.block.zones.i and sketch.block.zones.j, respectively.

Returns:

v - 2D vector

Arguments:

bp - block pointer

ii - index i

ij - index j