OpenLexocad  27.1
Geom::Matrix4 Class Reference

This is a simple implementation of double based matrix. More...

#include <Matrix4d.h>

Public Member Functions

 Matrix4 ()
 
void multVecMatrix (const Geom::Pnt &src, Geom::Pnt &dst) const
 
void makeIdentity ()
 
void setScale (double value)
 init the matrix to be scale matrix More...
 
Matrix4operator *= (const Matrix4 &m)
 
Matrix4multRight (const Matrix4 &m)
 

Public Attributes

double matrix [4][4] {}
 

Detailed Description

This is a simple implementation of double based matrix.

Constructor & Destructor Documentation

◆ Matrix4()

Geom::Matrix4::Matrix4 ( )

Member Function Documentation

◆ makeIdentity()

void Geom::Matrix4::makeIdentity ( )

◆ multRight()

Matrix4& Geom::Matrix4::multRight ( const Matrix4 m)

◆ multVecMatrix()

void Geom::Matrix4::multVecMatrix ( const Geom::Pnt src,
Geom::Pnt dst 
) const

◆ operator *=()

Matrix4& Geom::Matrix4::operator *= ( const Matrix4 m)

◆ setScale()

void Geom::Matrix4::setScale ( double  value)

init the matrix to be scale matrix

Parameters
valuescale value

Member Data Documentation

◆ matrix

double Geom::Matrix4::matrix[4][4] {}

The documentation for this class was generated from the following file: