rblock.facet.vertex.pos

Syntax

v = rblock.facet.vertex.pos(p,if,iv)

Get the facet vertex position. if, the facet number, can take values from 1 to rblock.facet.num. iv, the vertex of the facet, can take values {1 or 2 in 2D; 1, 2 or 3 in 3D}.

Returns:v - facet vertex position vector
Arguments:p - rigid block pointer

Component Access

f = rblock.facet.vertex.pos (p ifiv)->x

f = rblock.facet.vertex.pos.x(p,if,iv)

Get the \(x\)-component of the facet vertex position. if, the facet number, can take values from 1 to rblock.facet.num. iv, the vertex of the facet, can take values {1 or 2 in 2D; 1, 2 or 3 in 3D}.

Returns:f - \(x\)-component of the facet vertex position
Arguments:p - rigid block 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 = rblock.facet.vertex.pos(p, 1, 2, 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 = rblock.facet.vertex.pos.y(p,if,iv)
f = rblock.facet.vertex.pos.z(p,if,iv) (3D ONLY)