GetLocalRotationalAxis
Returns a true or false value depending whether a local rotational axis or global cyclic axis is present in the model. When it is present in the model, the function returns in Cartesian coordinates, the local rotational CSYS defined by the origin and by axes: radial, theta, and axial.
Calling convention:
bool GetLocalRotationalAxis(double* origin, double* axis1, double* axis2, double* axis3)
Note:
To access this method, you must use the GetTMGFunction method and include the AdditionalFunctions.h file located in the [installation_path]\tmg\include\maya\expeval_utils folder in the beginning of your source file.
Argument | Data type | Description |
---|---|---|
origin | double* | The Cartesian coordinates of the local CSYS origin. |
axis1 | double* | The Cartesian components of the global radial axis. |
axis2 | double* | The Cartesian components of the global theta axis. |
axis3 | double* | The Cartesian components of the global axial axis. |
For the example, see the GetAreaBC method.