Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Point3DGrid Spatial Transforms »
TransformPoint3DGrid
Applies a general transformation expressed by a matrix to a grid of 3D points.
Syntax
C++
C#
void avl::TransformPoint3DGrid
(
const avl::Point3DGrid& inGrid,
const avl::Matrix& inTransform,
bool inInverse,
avl::Point3DGrid& outGrid
)
void TransformPoint3DGrid
(
Point3DGrid inGrid,
Matrix inTransform,
bool inInverse,
out Point3DGrid outGrid
)
Parameters
|
Name |
Type |
Default |
Description |
|
inGrid |
const Point3DGrid& |
|
|
|
inTransform |
const Matrix& |
|
Transformation 3x3 or 4x4 matrix |
|
inInverse |
bool |
|
Switches to the inverse operation |
|
outGrid |
Point3DGrid& |
|
|
Errors
Error type |
Description |
DomainError |
Transformation matrix size must be 3x3 or 4x4 in 3D point transform. |