QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Classes | Functions
qgsmatrix4x4.h File Reference
#include "qgis_core.h"
#include "qgis_sip.h"
#include "qgsvector3d.h"
Include dependency graph for qgsmatrix4x4.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsMatrix4x4
 A simple 4x4 matrix implementation useful for transformation in 3D space. More...
 

Functions

CORE_EXPORT QgsMatrix4x4 operator* (const QgsMatrix4x4 &m1, const QgsMatrix4x4 &m2)
 Matrix-vector multiplication (vector is converted to homogenous coordinates [X,Y,Z,1] and back)
 
CORE_EXPORT QgsVector3D operator* (const QgsMatrix4x4 &matrix, const QgsVector3D &vector)
 Matrix-matrix multiplication (useful to concatenate transforms)
 

Function Documentation

◆ operator*() [1/2]

CORE_EXPORT QgsMatrix4x4 operator* ( const QgsMatrix4x4 m1,
const QgsMatrix4x4 m2 
)

Matrix-vector multiplication (vector is converted to homogenous coordinates [X,Y,Z,1] and back)

Definition at line 115 of file qgsmatrix4x4.cpp.

◆ operator*() [2/2]

CORE_EXPORT QgsVector3D operator* ( const QgsMatrix4x4 matrix,
const QgsVector3D vector 
)

Matrix-matrix multiplication (useful to concatenate transforms)

Definition at line 116 of file qgsmatrix4x4.cpp.