fracture.vertex.pos

Syntax

Vector Access

pos = fracture.vertex.pos(vert<,icomp>)

Get the fracture vertex position.

Returns:

pos - position vector or component

Arguments:

vert - fracture vertex pointer

icomp - optional vector component

Component Access

fpos = fracture.vertex.pos.x(vert)

Get the x-component of the fracture vertex position.

Returns:fpos - x-component of the vertex position
Arguments:vert - fracture vertex pointer
fpos = fracture.vertex.pos.y(vert)

Get the y-component of the fracture vertex position.

Returns:fpos - y-component of the vertex position
Arguments:vert - fracture vertex pointer
fpos = fracture.vertex.pos.z(vert) (3D only)

Get the z-component of the fracture vertex position.

Returns:fpos - z-component of the vertex position
Arguments:vert - fracture vertex pointer