Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » TransformVector3D

TransformVector3D
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Applies a general transformation expressed by a matrix to a 3D vector.
Syntax
C++
C#
void fil::TransformVector3D ( const fil::Vector3D& inVector3D, const fil::Matrix& inTransform, bool inInverse, fil::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. |