Class TLcd3DMatrix

java.lang.Object
com.luciad.geometry.cartesian.TLcd3DMatrix

public class TLcd3DMatrix extends Object
Representation for a 3*3 matrix.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    Element at row 0 and column 0.
    double
    Element at row 0 and column 1.
    double
    Element at row 0 and column 2.
    double
    Element at row 1 and column 0.
    double
    Element at row 1 and column 1.
    double
    Element at row 1 and column 2.
    double
    Element at row 2 and column 0.
    double
    Element at row 2 and column 1.
    double
    Element at row 2 and column 2.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TLcd3DMatrix(double aM00, double aM01, double aM02, double aM10, double aM11, double aM12, double aM20, double aM21, double aM22)
    Constructs and initializes a TLcd3DMatrix from the specified nine values.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Computes the determinant of this matrix.
    void
    Sets the value of this matrix to the matrix inverse of the passed matrix aMatrix.
    void
    setRow(int aRowNumber, double aM0, double aM1, double aM2)
    Sets the specified row of this TLcd3DMatrix to the 3 values provided.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • m00

      public double m00
      Element at row 0 and column 0.
    • m01

      public double m01
      Element at row 0 and column 1.
    • m02

      public double m02
      Element at row 0 and column 2.
    • m10

      public double m10
      Element at row 1 and column 0.
    • m11

      public double m11
      Element at row 1 and column 1.
    • m12

      public double m12
      Element at row 1 and column 2.
    • m20

      public double m20
      Element at row 2 and column 0.
    • m21

      public double m21
      Element at row 2 and column 1.
    • m22

      public double m22
      Element at row 2 and column 2.
  • Constructor Details

    • TLcd3DMatrix

      public TLcd3DMatrix(double aM00, double aM01, double aM02, double aM10, double aM11, double aM12, double aM20, double aM21, double aM22)
      Constructs and initializes a TLcd3DMatrix from the specified nine values.
      Parameters:
      aM00 - Element at row 0 and column 0.
      aM01 - Element at row 0 and column 1.
      aM02 - Element at row 0 and column 2.
      aM10 - Element at row 1 and column 0.
      aM11 - Element at row 1 and column 1.
      aM12 - Element at row 1 and column 2.
      aM20 - Element at row 2 and column 0.
      aM21 - Element at row 2 and column 1.
      aM22 - Element at row 2 and column 2.
  • Method Details

    • setRow

      public void setRow(int aRowNumber, double aM0, double aM1, double aM2)
      Sets the specified row of this TLcd3DMatrix to the 3 values provided.
      Parameters:
      aRowNumber - the row number of the given values.
      aM0 - the element at column 0.
      aM1 - the element at column 1.
      aM2 - the element at column 2.
    • invert

      public void invert(TLcd3DMatrix aMatrix)
      Sets the value of this matrix to the matrix inverse of the passed matrix aMatrix.
      Parameters:
      aMatrix - the matrix to calculate the inverse for.
    • determinant

      public double determinant()
      Computes the determinant of this matrix.
      Returns:
      the determinant of this matrix.