Hide menu
Loading...
Searching...
No Matches
cadex.Geom.Matrix3d Class Reference

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

Inherits cadex.Geom.MatrixDouble3.

Public Member Functions

 Matrix3d (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 Matrix3d ()
 Constructor.
 
 Matrix3d (cadex.Geom.MatrixDouble3 theOther)
 Constructor.
 
 Matrix3d (double theA11, double theA12, double theA13, double theA21, double theA22, double theA23, double theA31, double theA32, double theA33)
 Constructor.
 
void SetDiagonal (double theX1, double theX2, double theX3)
 
void SetCross (cadex.Collections.ArrayDouble3 theRef)
 Modifies the matrix so that applying it to any triplet produces cross product of the theRef and this triplet.
 
void SetDot (cadex.Collections.ArrayDouble3 theRef)
 Modifies the matrix so that applying it to any triplet produces dot product of the theRef and this triplet.
 
bool IsSingular ()
 
double Determinant ()
 
void SetRotation (cadex.Geom.Direction theAxis, double theAng)
 Modifies the matrix so that represents a rotation.
 
new void Multiply (double theScalar)
 
void Multiply (cadex.Geom.Matrix3d theOther)
 
void PreMultiply (cadex.Geom.Matrix3d theOther)
 
cadex.Geom.Matrix3d Multiplied (cadex.Geom.Matrix3d theOther)
 
new cadex.Geom.Matrix3d Multiplied (double theScalar)
 
override void Invert ()
 
cadex.Geom.Matrix3d Inverted ()
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Defines a square matrix of size three.

Member Function Documentation

◆ SetCross()

void cadex.Geom.Matrix3d.SetCross ( cadex.Collections.ArrayDouble3 theRef)
inline

Modifies the matrix so that applying it to any triplet produces cross product of the theRef and this triplet.

Matrix * (X, Y, Z) = theRef.Cross ((X, Y ,Z)).

◆ SetDot()

void cadex.Geom.Matrix3d.SetDot ( cadex.Collections.ArrayDouble3 theRef)
inline

Modifies the matrix so that applying it to any triplet produces dot product of the theRef and this triplet.

Matrix * (X, Y, Z) = theRef.Dot ((X, Y ,Z)).