Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » TransformVector3D
TransformVector3D
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
| Module: | Vision3DLite |
Applies a general transformation expressed by a matrix to a 3D vector.
Syntax
C++
C#
void avl::TransformVector3D ( const avl::Vector3D& inVector3D, const avl::Matrix& inTransform, bool inInverse, avl::Vector3D& outVector3D )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inVector3D | const Vector3D& | ||
![]() |
inTransform | const Matrix& | Transformation 3x3 or 4x4 matrix | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outVector3D | 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. |


