fracture.vertex.pos

Syntax

v = fracture.vertex.pos(vert)

Get the fracture vertex position.

Returns:

v - position vector

Arguments:

vert - fracture vertex pointer

Component Access

f = fracture.vertex.pos (vert)->x

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

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

Returns:

f - \(x\)-component of the vertex position

Arguments:

vert - fracture vertex 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.vertex.pos(vert, 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.vertex.pos.y(vert)
f = fracture.vertex.pos.z(vert) (3D ONLY)