Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeMatrix2d Class
Syntax
C++
class OdGeMatrix2d;

This class represents 2D transformation matrices that define affine ( translation, rotation, and/or scaling ) transformations.

OdGeMatrix2d may be viewed as an array[3][3] of doubles. 

An OdGeMatrix2d, M, can be expressed as a 3 x 3 matrix*, in the form 

 

a00 a01 t0 a10 a11 t1 0 0 1

 

The linear part of M is the matrix 

 

a00 a01 a10 a11

 

The translational part of M is the column 

 

t0 t1

 

The origin of the coordinate system of M is (t0, t1). 

Corresponding C++ library: TD_Ge 

 

OdGeMatrix2d

File: GeMatrix2d.h 

Module: API Reference 

Copyright © 2002-2022. Open Design Alliance All rights reserved.