fracture.genpos

Syntax

Vector Access

pos = fracture.genpos(frac<,icomp>)

Get the fracture generation position.

Returns:

pos - generation position vector or component

Arguments:

frac - fracture pointer

icomp - optional vector component

Component Access

fpos = fracture.genpos.x(frac)

Get the \(x\)-component of the fracture generation position.

Returns:fpos - \(x\)-component of the generation position
Arguments:frac - fracture pointer
fpos = fracture.genpos.y(frac)

Get the \(y\)-component of the fracture generation position.

Returns:fpos - \(y\)-component of the generation position
Arguments:frac - fracture pointer
fpos = fracture.genpos.z(frac) (3D only)

Get the \(z\)-component of the fracture generation position.

Returns:fpos - \(z\)-component of the generation position
Arguments:frac - fracture pointer