OpenLexocad
28.0
Matrix4d.h
Go to the documentation of this file.
1
#pragma once
2
#include <
Geom/Pnt.h
>
3
4
namespace
Geom
5
{
9
class
LX_GEOM_EXPORT
Matrix4
10
{
11
public
:
12
Matrix4
();
13
;
14
15
void
multVecMatrix
(
const
Geom::Pnt
& src,
Geom::Pnt
& dst)
const
;
16
void
makeIdentity
();
21
void
setScale
(
double
value);
22
23
// Matrix4 operator *(const Matrix4 & m1, const Matrix4 & m2);
24
Matrix4
&
operator*=
(
const
Matrix4
& m);
25
26
Matrix4
&
multRight
(
const
Matrix4
& m);
27
28
double
matrix[4][4]{};
29
};
30
}
// namespace Geom
Geom::Matrix4::multVecMatrix
void multVecMatrix(const Geom::Pnt &src, Geom::Pnt &dst) const
Geom::Matrix4::setScale
void setScale(double value)
init the matrix to be scale matrix
Geom::Matrix4::makeIdentity
void makeIdentity()
Geom::Pnt
Defines a non-persistent 3D Cartesian point.
Definition:
Pnt.h:44
Geom::Matrix4
This is a simple implementation of double based matrix.
Definition:
Matrix4d.h:10
Geom::Matrix4::Matrix4
Matrix4()
Pnt.h
Geom::Matrix4::operator*=
Matrix4 & operator*=(const Matrix4 &m)
Geom::Matrix4::multRight
Matrix4 & multRight(const Matrix4 &m)
Geom
Definition:
PropertyContainer.h:33
lexocad
Geom
include
Geom
Matrix4d.h
Generated by
1.8.18