HMIN_transform_vectoratpointtoglobal()

Allows vectors in a Cartesian, cylindrical, or spherical system to be transformed to a global coordinate system, based on the local system.

Syntax

void HMIN_transform_vectoratpointtoglobal (HM_vectorpointer inputptr, double cords[3], int type, double origin[3], double axis[3][3], HM_vectorpointer outputptr);

Type

HyperMesh hminlib Function

Description

Allows vectors in a Cartesian, cylindrical, or spherical system to be transformed to a global coordinate system, based on the local system.

Inputs

inputptr
The pointer to the input vector.
cords[3]
The point at which the vector resides.
type
The type of coordinate system in which the vector is located.
  • 0 - For a Cartesian system.
  • 1 - For a cylindrical system.
  • 2 - For a spherical system.
origin[3]
The origin of the coordinate system.
axis[3][3]
The axes of the coordinate system.
outputptr
The pointer to the output vector.

Errors

None.