# fracture.genpos

Syntax

v = fracture.genpos(frac)

Get the fracture generation position.

Returns: pos - generation position vector frac - fracture pointer

Component Access

f = fracture.genpos (frac)->x

f = fracture.genpos.x(frac)

Get the $$x$$-component of the fracture generation position.

Returns: f - $$x$$-component of the generation position frac - fracture pointer

Access other vector components ($$y$$, $$z$$ (3D ONLY)) by substituting the component name where $$x$$ appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (e.g., f = fracture.genpos(frac, 3)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f = fracture.genpos.y(frac)
f = fracture.genpos.z(frac) (3D ONLY)