Table Of Contents

Previous topic

Mask

Next topic

MaximizeEvent

This Page

phoenix_title Matrix2D

A simple container for 2x2 matrix.

This simple structure is used with AffineMatrix2D.

New in version 2.9.2.


class_hierarchy Inheritance Diagram

Inheritance diagram for class Matrix2D

Inheritance diagram of Matrix2D


method_summary Methods Summary

__init__ Default constructor.

api Class API



class Matrix2D(object)

A simple container for 2x2 matrix.

Possible constructors:

Matrix2D(v11=1, v12=0, v21=0, v22=1)

Methods



__init__(self, v11=1, v12=0, v21=0, v22=1)

Default constructor.

Initializes the matrix elements to the identity.

Parameters:
  • v11 (float) –
  • v12 (float) –
  • v21 (float) –
  • v22 (float) –