You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » AVL.TransformVector3D

AVL.TransformVector3D

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TransformVector3D
(
	AvlNet.Vector3D inVector3D,
	AvlNet.Matrix inTransform,
	bool inInverse,
	out AvlNet.Vector3D outVector3D
)

Parameters

Name Type Range Default Description
inVector3DAvlNet.Vector3D
inTransformAvlNet.MatrixTransformation 3x3 or 4x4 matrix.
inInverseboolSwitches to the inverse operation.
outVector3DAvlNet.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.

See also