CVBpy 15.0
AffineMatrix3D Class Reference

Affine transformation for 3D containing a transformation matrix and a translation vector. More...

Inherits object.

Public Member Functions

cvb.AffineMatrix3D identity ()
 An identity transformation. More...
 
None inverse (self)
 Gets the inverse of this transformation if possible. More...
 
None invert (self)
 Inverts this transformation in-place if possible. More...
 

Properties

 det = property
 float: Transformation determinant.
 
 is_translation = property
 bool: Checks if this transformation describes a translation.
 
 matrix = property
 cvb.Matrix3D: Gets or sets the matrix part of the transformation.
 
 translation = property
 cvb.Point3D: Gets or sets the translation part of the transformation.
 

Detailed Description

Affine transformation for 3D containing a transformation matrix and a translation vector.

No perspective transformation is possible, only translation, rotation, scaling and shear.

Defines a transformation.

Parameters

matrix : cvb.Matrix3D The matrix part.

translation : cvb.Point3D The translation part.

Member Function Documentation

◆ identity()

cvb.AffineMatrix3D identity ( )

An identity transformation.

Returns

cvb.AffineMatrix3D An identity transformation.

◆ inverse()

None inverse (   self)

Gets the inverse of this transformation if possible.

Might cause division by zero.

◆ invert()

None invert (   self)

Inverts this transformation in-place if possible.

Might cause division by zero.