Public Member Functions | Properties | List of all members
Transformation3D Class Reference

Affine transformation matrix for 3D. More...

Inherits object.

Public Member Functions

def identity ()
 An identity transformation. More...
 
def invert (self)
 Inverts this transformation if possible. More...
 

Properties

 det = property
 Transformation determinant.
 
 is_translation = property
 Checks if this transformation describes a translation.
 
 matrix = property
 Gets or sets the matrix part of the transformation.
 
 translation = property
 Gets or sets the translation part of the transformation.
 

Detailed Description

Affine transformation matrix for 3D.

Parameters

matrix : cvb.Matrix3D The matrix part.

translation : cvb.Vector3D The translation part.

Member Function Documentation

◆ identity()

def identity ( )

An identity transformation.

Returns

cvb.Transformation3D An identity transformation.

◆ invert()

def invert (   self)

Inverts this transformation if possible.

Might cause division by zero.