nxopen

## Interface MathUtils

• All Superinterfaces:
Remote

```public interface MathUtils
extends Remote```
Contains various math utility methods
To obtain an instance of this class, refer to `Session`

Created in NX3.0.0
• ### Method Summary

All Methods
Modifier and Type Method and Description
`Point3d` ```multiply(Matrix3x3 matrix, Point3d originalPoint)```
Returns a point which is the product of a 3x3 matrix and a 3D point
`Vector3d` ```multiply(Matrix3x3 matrix, Vector3d originalVector)```
Returns a vector which is the product of a 3x3 matrix and a 3D vector
`Matrix3x3` `orthonormalize(Matrix3x3 original)`
Orthonormalizes a matrix
• ### Method Detail

• #### orthonormalize

```Matrix3x3 orthonormalize(Matrix3x3 original)
throws NXException,
RemoteException```
Orthonormalizes a matrix

Created in NX3.0.0
Parameters:
`original` - The original matrix. Must have a non-zero determinant.
Returns:
An orthonormalized version of the input matrix.
Throws:
`NXException`
`RemoteException`
• #### multiply

```Vector3d multiply(Matrix3x3 matrix,
Vector3d originalVector)
throws NXException,
RemoteException```
Returns a vector which is the product of a 3x3 matrix and a 3D vector

Created in NX6.0.0
Parameters:
`matrix` - The transform matrix.
`originalVector` - The original vector we want to multiply with the matrix
Returns:
The product of the matrix and original vector.
Throws:
`NXException`
`RemoteException`
• #### multiply

```Point3d multiply(Matrix3x3 matrix,
Point3d originalPoint)
throws NXException,
RemoteException```
Returns a point which is the product of a 3x3 matrix and a 3D point
`matrix` - The transform matrix.
`originalPoint` - The original point we want to multiply with the matrix
`NXException`
`RemoteException`