VisualizationFoundation CAT3x3Matrix
Usage: you must use this class as is. You should never derive it.
public class CAT3x3Matrix
Class to create a 2D matrix.
Role: This object manages matrix transformations appliables to 2D
elements, in the homogeneous coordinate system, enabling so translations
to be viewed as matrix operations.
The CAT3x3Matrix is commonly used to define the transformation that is to
be applied to CAT2DBagRep objects.
Constructor and Destructor Index
- o
CAT3x3Matrix(void)
- Constructs an identity 2D matrix.
- o
CAT3x3Matrix(CATMathAxis2D&)
- Constructs a 2D matrix from axis.
- o
CAT3x3Matrix(CATMathVector2Df&)
- Constructs a 2D translation matrix from a translation vector.
- o
CAT3x3Matrix(float[2][2],CATMathPoint2Df&)
- Constructs a 2D matrix from a float array and a translation vector.
- o
CAT3x3Matrix(CATMathVector2Df&,CATMathVector2Df&,CATMathPoint2Df&)
- Constructs a 2D matrix from 3 vectors.
- o
~CAT3x3Matrix(void)
- Destructor.
Method Index
- o
GetComponents(CATMathVector2Df&,CATMathVector2Df&,CATMathPoint2Df&)
- Gets the 2D matrix components.
- o
GetDeterminant(void)
- Gets the determinant of the 2D matrix.
- o
GetInvertedMatrix(void)
- Gets the inverted 2D matrix.
- o
GetInvertedMatrix(CAT3x3Matrix&)
- Gets the inverted 2D matrix.
- o
GetMatrix(void)
- Gets the 2D matrix components.
- o
GetScaling(void)
- Gets the scaling factor of the 2D matrix.
- o
GetTranslation(void)
- Gets the 2D matrix translation vector.
- o
GetTranslation(CATMathVector2Df&)
- Gets the 2D matrix translation vector.
- o
IsIdentity(void)
- Indicates if the 2D matrix is an identity matrix.
- o
SetComponents(CATMathVector2Df&,CATMathVector2Df&,CATMathPoint2Df&)
- Sets the 2D matrix components.
- o
SetTranslation(CATMathVector2Df&)
- Sets the 2D matrix translation from a vector.
- o
operator *(CAT3x3Matrix&)
- Multiplication operator.
- o
operator *(CATMathPoint2Df&)
- Multiplies a matrix by a 2D point.
- o
operator *(CATMathVector2Df&)
- Multiplies a matrix by a 2D vector.
- o
operator *(CATMathDirection2Df&)
- Multiplies a matrix by a 2D direction.
- o
operator *=(CAT3x3Matrix&)
- Multiplication assignment operator.
- o
operator =(CAT3x3Matrix&)
- Assignment operator.
Constructor and Destructor
o CAT3x3Matrix
-
Constructs an identity 2D matrix.
o CAT3x3Matrix
public CAT3x3Matrix( | const | iAxis) |
-
Constructs a 2D matrix from axis.
- Parameters:
-
- iAxis
- The axis.
o CAT3x3Matrix
public CAT3x3Matrix( | const | iTra) |
-
Constructs a 2D translation matrix from a translation vector.
- Parameters:
-
- iTra
- The translation vector.
o CAT3x3Matrix
public CAT3x3Matrix( | const | iMat2x2, |
| const | iTra) |
-
Constructs a 2D matrix from a float array and a translation vector.
- Parameters:
-
- iMat2x2
- The 2x2 float array.
- iTra
- The translation vector.
o CAT3x3Matrix
public CAT3x3Matrix( | const | iU, |
| const | iV, |
| const | iTra) |
-
Constructs a 2D matrix from 3 vectors.
- Parameters:
-
- iU
- The fisrt vector.
- iV
- The second vector.
- iTra
- The fourth vector (Translation).
o ~CAT3x3Matrix
public virtual ~CAT3x3Matrix( | | ) |
-
Destructor.
Methods
o GetComponents
public GetComponents( | | oU, |
| | oV, |
| | oTra) |
-
Gets the 2D matrix components.
- Parameters:
-
- oU
- The returned U rotation vector.
- oV
- The returned V rotation vector.
- oTra
- The returned translation point.
o GetDeterminant
-
Gets the determinant of the 2D matrix.
- Returns:
- The value of the determinant.
o GetInvertedMatrix
public GetInvertedMatrix( | | ) |
-
Gets the inverted 2D matrix.
- Returns:
- The returned inverted matrix.
o GetInvertedMatrix
public GetInvertedMatrix( | | ) |
-
Gets the inverted 2D matrix.
- Parameters:
-
- oMatrix
- The returned inverted matrix.
o GetMatrix
-
Gets the 2D matrix components.
- Returns:
- The float pointer of the 2D matrix components.
o GetScaling
-
Gets the scaling factor of the 2D matrix.
- Returns:
- The value of the scaling factor of the 3D matrix.
o GetTranslation
-
Gets the 2D matrix translation vector.
- Returns:
- The returned translation vector.
o GetTranslation
public GetTranslation( | | oTra) |
-
Gets the 2D matrix translation vector.
- Parameters:
-
- oTra
- The returned translation vector.
o IsIdentity
-
Indicates if the 2D matrix is an identity matrix.
- Returns:
- The status of the 2D matrix.
o SetComponents
public SetComponents( | const | iU, |
| const | iV, |
| const | iTra) |
-
Sets the 2D matrix components.
- Parameters:
-
- iU
- The U rotation vector.
- iV
- The V rotation vector.
- iTra
- The translation point.
o SetTranslation
public SetTranslation( | const | iTra) |
-
Sets the 2D matrix translation from a vector.
- Parameters:
-
- iTra
- The translation vector.
o operator *
public operator *( | const | iMatrix) |
-
Multiplication operator.
- Parameters:
-
- iMatrix
- The matrix to multiply with the current one
- Returns:
- The matrix resulting from the multiplication
o operator *
public operator *( | const | iPoint) |
-
Multiplies a matrix by a 2D point.
Role:
The 2x2 submatrix is multiplied by the point coordinate doublet
and the matrix translation vector is added to the multiplication result
- Parameters:
-
- iPoint
- The point whose coordinate doublet is to be multiplied by the matrix
- Returns:
- The point resulting from the multiplication
o operator *
public operator *( | const | iVector) |
-
Multiplies a matrix by a 2D vector.
Role:
The 2x2 submatrix is multiplied by the vector component doublet
and the matrix translation vector is added to the multiplication result
- Parameters:
-
- iVector
- The vector whose component doublet is to be multiplied by the matrix
- Returns:
- The vector resulting from the multiplication
o operator *
public operator *( | const | iDirection) |
-
Multiplies a matrix by a 2D direction.
Role:
The 2x2 submatrix is multiplied by the direction component doublet
and the matrix translation vector is added to the multiplication result
- Parameters:
-
- iDirection
- The direction whose component doublet is to be multiplied by the matrix
- Returns:
- The direction resulting from the multiplication
o operator *=
public operator *=( | const | iMatrix) |
-
Multiplication assignment operator.
- Parameters:
-
- iMatrix
- The matrix to multiply with the current one
- Returns:
- The matrix resulting from the multiplication
o operator =
public operator =( | const | iMatrix) |
-
Assignment operator.
- Parameters:
-
- iMatrix
- The matrix to assign to the current one
- Returns:
- The matrix resulting from the assignment
This object is included in the file: CAT3x3Matrix.h
If needed, your Imakefile.mk should include the module: CATVisFoundation
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.