You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » AVL.TransformVector3D
Applies a general transformation expressed by a matrix to a 3D vector.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TransformVector3D ( AvlNet.Vector3D inVector3D, AvlNet.Matrix inTransform, bool inInverse, out AvlNet.Vector3D outVector3D )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inVector3D | AvlNet.Vector3D | |||
![]() | inTransform | AvlNet.Matrix | Transformation 3x3 or 4x4 matrix. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outVector3D | AvlNet.Vector3D |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Singular matrix not allowed for inverse transform in TransformVector3D. |
| DomainError | Transformation matrix size must be 3x3 or 4x4 in TransformVector3D. |


