# building_blocks.edge.toglobal

Syntax

v = building_blocks.edge.toglobal(ep,f)

Get the global coordinates of a point from local coordinates. Converts the local point coordinate on the edge (1D) to global coordinates (3D). The local edge coordinate of the point will range between 0.0 and 1.0.

Returns: v - point global coordinates (3D) ep - edge pointer f - local edge coordinate

Component Access

f = building_blocks.edge.toglobal (ep, f)->x

f = building_blocks.edge.toglobal.x(ep,f)

Get the $$x$$-component of the global coordinates of a point from local coordinates. Converts the local point coordinate on the edge (1D) to global coordinates (3D). The local edge coordinate of the point will range between 0.0 and 1.0.

Returns: f - $$x$$-component of the point global coordinates (3D) ep - edge 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.edge.toglobal(ep,f,<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.edge.toglobal.y(ep,f)
f = building_blocks.edge.toglobal.z(ep,f)