Uses of Class
toxi.geom.Matrix3d

Packages that use Matrix3d
Package
Description
 
  • Uses of Matrix3d in toxi.geom

    Methods in toxi.geom with parameters of type Matrix3d
    Modifier and Type
    Method
    Description
    final void
    Matrix3d.add(double scalar, Matrix3d m1)
    Adds a scalar to each component of the matrix m1 and places the result into this.
    final void
    Matrix3d.add(Matrix3d m1)
    Sets the value of this matrix to the sum of itself and matrix m1.
    final void
    Matrix3d.add(Matrix3d m1, Matrix3d m2)
    Sets the value of this matrix to the matrix sum of matrices m1 and m2.
    boolean
    Matrix3d.epsilonEquals(Matrix3d m1, double epsilon)
    Returns true if the L-infinite distance between this matrix and matrix m1 is less than or equal to the epsilon parameter, otherwise returns false.
    boolean
    Matrix3d.equals(Matrix3d m1)
    Returns true if all of the data members of Matrix3d m1 are equal to the corresponding data members in this Matrix3d.
    final void
    GMatrix.get(Matrix3d m1)
    Places the values in the upper 3x3 of this GMatrix into the matrix m1.
    final void
    Matrix4f.get(Matrix3d m1)
    Performs an SVD normalization of this matrix in order to acquire the normalized rotational component; the values are placed into the Matrix3d parameter.
    final double
    Matrix4f.get(Matrix3d m1, Vec3D t1)
    Performs an SVD normalization of this matrix to calculate the rotation as a 3x3 matrix, the translation, and the scale.
    final void
    Gets the upper 3x3 values of this matrix and places them into the matrix m1.
    final void
    Matrix3d.invert(Matrix3d m1)
    Sets the value of this matrix to the matrix inverse of the passed matrix m1.
    final void
    Matrix3d.mul(double scalar, Matrix3d m1)
    Multiplies each element of matrix m1 by a scalar and places the result into this.
    final void
    Matrix3d.mul(Matrix3d m1)
    Sets the value of this matrix to the result of multiplying itself with matrix m1.
    final void
    Matrix3d.mul(Matrix3d m1, Matrix3d m2)
    Sets the value of this matrix to the result of multiplying the two argument matrices together.
    final void
    Matrix3d.mulNormalize(Matrix3d m1)
    Multiplies this matrix by matrix m1, does an SVD normalization of the result, and places the result back into this matrix this = SVDnorm(this*m1).
    final void
    Matrix3d.mulNormalize(Matrix3d m1, Matrix3d m2)
    Multiplies matrix m1 by matrix m2, does an SVD normalization of the result, and places the result into this matrix this = SVDnorm(m1*m2).
    final void
    Multiplies the transpose of matrix m1 times the transpose of matrix m2, and places the result into this.
    final void
    Multiplies the transpose of matrix m1 times matrix m2, and places the result into this.
    final void
    Multiplies matrix m1 times the transpose of matrix m2, and places the result into this.
    final void
    Matrix3d.negate(Matrix3d m1)
    Sets the value of this matrix equal to the negation of of the Matrix3d parameter.
    final void
    Matrix3d.normalize(Matrix3d m1)
    Perform singular value decomposition normalization of matrix m1 and place the normalized values into this.
    final void
    Matrix3d.normalizeCP(Matrix3d m1)
    Perform cross product normalization of matrix m1 and place the normalized values into this.
    final void
    GMatrix.set(Matrix3d m1)
    Sets the value of this matrix to that of the Matrix3d provided.
    final void
    Matrix3d.set(Matrix3d m1)
    Sets the value of this matrix to the value of the Matrix3d argument.
    final void
    Matrix4f.set(Matrix3d m1)
    Sets the rotational component (upper 3x3) of this matrix to the matrix values in the double precision Matrix3d argument; the other elements of this matrix are initialized as if this were an identity matrix (i.e., affine matrix with no translational component).
    final void
    Matrix4f.set(Matrix3d m1, Vec3D t1, double scale)
    Sets the value of this matrix from the rotation expressed by the rotation matrix m1, the translation t1, and the scale factor.
    final void
    Matrix4f.setRotation(Matrix3d m1)
    Sets the rotational component (upper 3x3) of this matrix to the matrix values in the double precision Matrix3d argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the passed rotation components, and then the scale is reapplied to the rotational components.
    final void
    Replaces the upper 3x3 matrix values of this matrix with the values in the matrix m1.
    final void
    Matrix3d.sub(Matrix3d m1)
    Sets the value of this matrix to the matrix difference of itself and matrix m1 (this = this - m1).
    final void
    Matrix3d.sub(Matrix3d m1, Matrix3d m2)
    Sets the value of this matrix to the matrix difference of matrices m1 and m2.
    final void
    Matrix3d.transpose(Matrix3d m1)
    Sets the value of this matrix to the transpose of the argument matrix.
    Constructors in toxi.geom with parameters of type Matrix3d
    Modifier
    Constructor
    Description
     
    Constructs a new matrix with the same values as the Matrix3d parameter.
     
    Matrix4f(Matrix3d m1, Vec3D t1, float s)
    Constructs and initializes a Matrix4f from the rotation matrix, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components of the matrix.