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

Compacted affine matrix describing the Common Vision Blox coordinate system. More...

Inherits object.

Public Member Functions

def identity (self)
 The identity element. More...
 
def invert (self)
 Invert this affine matrix if possible. More...
 

Properties

 is_translation = property
 Checks if the matrix only describes a translation.
 
 matrix = property
 Gets or sets the transformation part of the affine matrix.
 
 translation = property
 Gets or sets the translation part of the affine matrix.
 

Detailed Description

Compacted affine matrix describing the Common Vision Blox coordinate system.

Parameters

matrix : cvb.Matrix2D The transformation part.

translation : cvb.Point2D The translation part.

Member Function Documentation

◆ identity()

def identity (   self)

The identity element.

Returns

cvb.AfineMatrix An identity matrix.

◆ invert()

def invert (   self)

Invert this affine matrix if possible.

Might cause division by zero.