Package | Description |
---|---|
com.solibri.geometry.linearalgebra | |
com.solibri.geometry.primitive3d |
Modifier and Type | Interface and Description |
---|---|
interface |
MMatrix4d
Interface for 4x4 matrices.
|
Modifier and Type | Field and Description |
---|---|
static Matrix4d |
Matrix4d.IDENTITY
Returns a new identity matrix.
|
Modifier and Type | Method and Description |
---|---|
static Matrix4d |
Matrix4d.create(double[] elements)
Constructs a matrix with the given array of 16 elements or 12 elements.
|
static Matrix4d |
Matrix4d.create(double m00,
double m01,
double m02,
double m03,
double m10,
double m11,
double m12,
double m13,
double m20,
double m21,
double m22,
double m23,
double m30,
double m31,
double m32,
double m33)
Constructs a matrix with the given 16 elements.
|
static Matrix4d |
Matrix4d.create(Matrix4d matrix)
Returns a new matrix with the values of the given matrix.
|
static Matrix4d |
Matrix4d.create(Vector3d x,
Vector3d y,
Vector3d z,
Vector3d translation)
Constructs a matrix from the given vectors and the translation vector.
|
Modifier and Type | Method and Description |
---|---|
MMatrix4d |
Matrix4d.add(Matrix4d matrix)
Returns a copy of this matrix after calculating the sum of this matrix
and the given matrix.
|
void |
MMatrix4d.addInPlace(Matrix4d matrix)
Sets the value of this matrix to sum of itself and the given matrix.
|
static Matrix4d |
Matrix4d.create(Matrix4d matrix)
Returns a new matrix with the values of the given matrix.
|
static MMatrix4d |
MMatrix4d.create(Matrix4d matrix)
Returns a new matrix with the values of the given matrix.
|
MMatrix4d |
Matrix4d.multiply(Matrix4d matrix)
Returns a copy of this matrix after calculating the product of this
matrix and the given matrix.
|
void |
MMatrix4d.multiplyInPlace(Matrix4d matrix)
Sets the value of this matrix to the result of multiplying itself with
the given matrix.
|
static MMatrix4d |
Matrix4d.productOf(Matrix4d matrix1,
Matrix4d matrix2)
Returns the product of the two inputed matrixes.
|
void |
MMatrix4d.set(Matrix4d matrix)
Sets the values of this matrix to the values of the given matrix.
|
MMatrix4d |
Matrix4d.subtract(Matrix4d matrix)
Returns a copy of this matrix after calculating the difference between
this matrix and the given matrix.
|
void |
MMatrix4d.subtractInPlace(Matrix4d matrix)
Sets the value of this matrix to the matrix difference of itself and the
given matrix.
|
Modifier and Type | Method and Description |
---|---|
void |
MPolygon3d.transform(Matrix4d transformMatrix)
Transforms this polygon using the given matrix.
|
Copyright © 2019 Solibri, Inc.. All rights reserved.