Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Geometry 3D Spatial Transforms »
TransformPoint3DArray
Applies a general transformation expressed by a matrix to an array of 3D points.
Syntax
C++
C#
void avl::TransformPoint3DArray
(
const atl::Array<avl::Point3D>& inPoints3D,
const avl::Matrix& inTransform,
bool inInverse,
atl::Array<avl::Point3D>& outPoints3D
)
void TransformPoint3DArray
(
Point3D[] inPoints3D,
Matrix inTransform,
bool inInverse,
out Point3D[] outPoints3D
)
Parameters
|
Name |
Type |
Default |
Description |
|
inPoints3D |
const Array<Point3D>& |
|
|
|
inTransform |
const Matrix& |
|
Transformation 3x3 or 4x4 matrix |
|
inInverse |
bool |
|
Switches to the inverse operation |
|
outPoints3D |
Array<Point3D>& |
|
|
Errors
Error type |
Description |
DomainError |
Transformation matrix size must be 3x3 or 4x4 in 3D point transform. |