# building_blocks.face.toglobal

Syntax

v = building_blocks.face.toglobal(fp,vu)

Get the global coordinates of a point from local coordinates. Converts local point coordinates on the face (2D vector) to global coordinates (3D vector).

Returns: v - point global coordinates (3D) fp - face pointer vu - point local face coordinates (2D)

Component Access

f = building_blocks.face.toglobal (fp, vu)->x

f = building_blocks.face.toglobal.x(fp,vu)

Get the $$x$$-component of the global coordinates of a point from local coordinates. Converts local point coordinates on the face (2D vector) to global

Returns: f - $$x$$-component of the point global coordinates (3D) fp - face pointer

Access other vector components ($$y$$, $$z$$) 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 (building_blocks.face.toglobal(fp,vu,<int>)) 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 = building_blocks.face.toglobal.y(fp,vu)
f = building_blocks.face.toglobal.z(fp,vu)