maspack.matrix

## Interface Vector3dTransform

• `public interface Vector3dTransform`
Interface for an object that performs forward and inverse transforms on 3D points, vectors, and normals.
• ### Method Summary

All Methods
Modifier and Type Method and Description
`void` ```inverseTransformNormal(Vector3d nr, Vector3d n0)```
Applies an inverse transform to normal `n0` and places the result in `nr`.
`void` ```inverseTransformPoint(Vector3d pr, Vector3d p0)```
Applies an inverse transform to point `p0` and places the result in `pr`.
`void` ```inverseTransformVector(Vector3d vr, Vector3d v0)```
Applies an inverse transform to vector `v0` and places the result in `vr`.
`void` ```transformNormal(Vector3d nr, Vector3d n0)```
Transforms normal `n0` and places the result in `nr`.
`void` ```transformPoint(Vector3d pr, Vector3d p0)```
Transforms point `p0` and places the result in `pr`.
`void` ```transformVector(Vector3d vr, Vector3d v0)```
Transforms vector `v0` and places the result in `vr`.
• ### Method Detail

• #### transformPoint

```void transformPoint(Vector3d pr,
Vector3d p0)```
Transforms point `p0` and places the result in `pr`.
Parameters:
`pr` - returns the transformed point
`p0` - point to be transformed
• #### transformVector

```void transformVector(Vector3d vr,
Vector3d v0)```
Transforms vector `v0` and places the result in `vr`.
Parameters:
`vr` - returns the transformed vector
`v0` - vector to be transformed
• #### transformNormal

```void transformNormal(Vector3d nr,
Vector3d n0)```
Transforms normal `n0` and places the result in `nr`.
Parameters:
`nr` - returns the transformed normal
`n0` - normal to be transformed
• #### inverseTransformPoint

```void inverseTransformPoint(Vector3d pr,
Vector3d p0)```
Applies an inverse transform to point `p0` and places the result in `pr`.
Parameters:
`pr` - returns the transformed point
`p0` - point to be transformed
• #### inverseTransformVector

```void inverseTransformVector(Vector3d vr,
Vector3d v0)```
Applies an inverse transform to vector `v0` and places the result in `vr`.
Parameters:
`vr` - returns the transformed vector
`v0` - vector to be transformed
• #### inverseTransformNormal

```void inverseTransformNormal(Vector3d nr,
Vector3d n0)```
Applies an inverse transform to normal `n0` and places the result in `nr`.
Parameters:
`nr` - returns the transformed normal
`n0` - normal to be transformed