block.corner.pos

Syntax

Vector Access

v = block.corner.pos(ind)

Get the corner centroid position vector.

Returns:v -corner position vector
Arguments:ind - corner index

Component Access

f = block.corner.pos.x(ind)

Get the \(x\)-coordinate of the corner centroid.

Returns:f - \(x\)-coordinate of the corner centroid
Arguments:ind - corner index
f = block.corner.pos.y(ind)

Get the \(y\)-coordinate of the corner centroid.

Returns:f - \(y\)-coordinate of the corner centroid
Arguments:ind - corner index