Description
Calculates the principal transformation of a specified shell and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFMeshTools.GetPricipalAxisTransformOfShell(shellID As RFEntityID, pTrans As RFVector3, pRot As RFVector3) As RFErrorCode
The GetPricipalAxisTransformOfShell syntax has these parts:
| Part | Description |
|---|---|
| shellID | [IN] RFEntityID Required. Shell's RFEntityID. |
| pTrans | [OUT] RFVector3 Required. Principal translation along X, Y ans Z axis. |
| pRot | [OUT] RFVector3 Required. Principal rotation around X, Y ans Z axis in radians. |
Remarks