Back to FabImage Library website

You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » TransformPoint3D

TransformPoint3D


Header: FIL.h
Namespace: fil
Module: Vision3DLite

Applies a general transformation expressed by a matrix to a 3D point.

Syntax

C++
C#
 
void fil::TransformPoint3D
(
	const fil::Point3D& inPoint3D,
	const fil::Matrix& inTransform,
	bool inInverse,
	fil::Point3D& outPoint3D
)

Parameters

Name Type Default Description
Input value inPoint3D const Point3D&
Input value inTransform const Matrix& Transformation 3x3 or 4x4 matrix
Input value inInverse bool Switches to the inverse operation
Output value outPoint3D Point3D&

Errors

List of possible exceptions:

Error type Description
DomainError Transformation matrix size must be 3x3 or 4x4 in 3D point transform.