Hide menu
Loading...
Searching...
No Matches
cadex::Geom::Matrix2d Class Reference

Defines a square matrix of size two. More...

#include <cadex/Geom/Matrix2d.hxx>

Inherits Matrix< 2 >.

Public Member Functions

 Matrix2d ()
 Constructor.
 
 Matrix2d (const MatrixType &theOther)
 Constructor.
 
 Matrix2d (double theA11, double theA12, double theA21, double theA22)
 Constructor.
 
void SetDiagonal (double theX1, double theX2)
 
void SetRotation (double theAng)
 Modifies the matrix so that represents a rotation.
 
double Determinant () const
 
bool IsSingular () const
 
void Invert () override
 
Matrix2d Inverted () const
 
void Multiply (double theScalar)
 
void Multiply (const Matrix2d &theOther)
 
void PreMultiply (const Matrix2d &theOther)
 
Matrix2d Multiplied (double theScalar) const
 
Matrix2d Multiplied (const Matrix2d &theOther) const
 

Detailed Description

Defines a square matrix of size two.