@xpointlocal()

Transforms a global coordinate into a local system and returns the x value of the transformation.

Syntax

@xpointlocal (system_id,x,y,z)

Type

HyperMesh Template Function

Description

Transforms a global coordinate into a local system and returns the x value of the transformation.

Inputs

system_id
The ID of the coordinate system to use for the transformation.
x y z
The coordinates of the point to be transformed in the local system.

Example

*field(real,[@xpointlocal(inputsystemid,globaloriginx,globaloriginy,globaloriginz)],8)
*field(real,[@ypointlocal(inputsystemid,globaloriginx,globaloriginy,globaloriginz)],8)
*field(real,[90.0 - @zpointlocal(inputsystemid,globaloriginx,globaloriginy,globaloriginz)],8)

Errors

None.