Close

Relief for ODA Team in Ukraine

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

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

Corresponding C++ library: TD_Ge

OdGeMatrix3d may be viewed as an array[4][4] of doubles. 

An OdGeMatrix3d, M, can be expressed as a 4 x 4 matrix* in the form: 

 

a00 a01 a02 t0 a10 a11 a12 t1 a20 a21 a22 t2 0 0 0 1

 

The linear part of M is the matrix: 

 

a00 a01 a02 a10 a11 a12 a20 a21 a22

 

The translational part of M is the column: 

 

t0 t1 t2

 

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

 

OdGeMatrix3d

File: GeMatrix3d.h 

Module: API Reference 

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