Class TLcd3DMatrix

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

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

    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 Link icon

    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 Link icon

    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 Link icon

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

    • m00 Link icon

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

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

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

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

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

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

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

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

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

    • TLcd3DMatrix Link icon

      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 Link icon

    • setRow Link icon

      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 Link icon

      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 Link icon

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