Package | Description |
---|---|
org.cesiumjs.cs.core |
Modifier and Type | Field and Description |
---|---|
Matrix3 |
OrientedBoundingBox.halfAxes
The transformation matrix, to rotate the box to the right position.
|
Modifier and Type | Method and Description |
---|---|
static Matrix3 |
Matrix3.abs(Matrix3 matrix,
Matrix3 result)
Computes a matrix, which contains the absolute (unsigned) values of the provided matrix's elements.
|
static Matrix3 |
Matrix3.add(Matrix3 left,
Matrix3 right,
Matrix3 result)
Computes the sum of two matrices.
|
Matrix3 |
Matrix3.clone()
Duplicates the provided Matrix3 instance.
|
Matrix3 |
Matrix3.clone(Matrix3 result)
Duplicates the provided Matrix3 instance.
|
static Matrix3 |
Matrix3.clone(Matrix3 matrix,
Matrix3 result)
Duplicates a Matrix3 instance.
|
static Matrix3 |
Transforms.computeFixedToIcrfMatrix(JulianDate date)
Computes a rotation matrix to transform a point or vector from the Earth-Fixed frame axes (ITRF) to the
International Celestial Reference Frame (GCRF/ICRF) inertial frame axes at a given time.
|
static Matrix3 |
Transforms.computeFixedToIcrfMatrix(JulianDate date,
Matrix3 result)
Computes a rotation matrix to transform a point or vector from the Earth-Fixed frame axes (ITRF) to the
International Celestial Reference Frame (GCRF/ICRF) inertial frame axes at a given time.
|
static Matrix3 |
Transforms.computeIcrfToFixedMatrix(JulianDate date)
Computes a rotation matrix to transform a point or vector from the International Celestial Reference Frame (GCRF/ICRF)
inertial frame axes to the Earth-Fixed frame axes (ITRF) at a given time.
|
static Matrix3 |
Transforms.computeIcrfToFixedMatrix(JulianDate date,
Matrix3 result)
Computes a rotation matrix to transform a point or vector from the International Celestial Reference Frame (GCRF/ICRF)
inertial frame axes to the Earth-Fixed frame axes (ITRF) at a given time.
|
static Matrix3 |
Transforms.computeTemeToPseudoFixedMatrix(JulianDate date)
Computes a rotation matrix to transform a point or vector from True Equator Mean Equinox (TEME) axes to
the pseudo-fixed axes at a given time.
|
static Matrix3 |
Transforms.computeTemeToPseudoFixedMatrix(JulianDate date,
Matrix3 result)
Computes a rotation matrix to transform a point or vector from True Equator Mean Equinox (TEME) axes to
the pseudo-fixed axes at a given time.
|
static Matrix3 |
Matrix3.fromArray(double[] array)
Creates a Matrix3 from 4 consecutive elements in an array.
|
static Matrix3 |
Matrix3.fromArray(double[] array,
int startingIndex)
Creates a Matrix3 from 4 consecutive elements in an array.
|
static Matrix3 |
Matrix3.fromArray(double[] array,
int startingIndex,
Matrix3 result)
Creates a Matrix3 from 4 consecutive elements in an array.
|
static Matrix3 |
Matrix3.fromColumnMajorArray(double[] values)
Creates a Matrix3 instance from a column-major order array.
|
static Matrix3 |
Matrix3.fromColumnMajorArray(double[] values,
Matrix3 result)
Creates a Matrix3 instance from a column-major order array.
|
static Matrix3 |
Matrix3.fromCrossProduct(Cartesian3 the)
Computes a Matrix3 instance representing the cross product equivalent matrix of a Cartesian3 vector.
|
static Matrix3 |
Matrix3.fromCrossProduct(Cartesian3 the,
Matrix3 result)
Computes a Matrix3 instance representing the cross product equivalent matrix of a Cartesian3 vector.
|
static Matrix3 |
Matrix3.fromQuaternion(Quaternion quaternion)
Computes a 3x3 rotation matrix from the provided quaternion.
|
static Matrix3 |
Matrix3.fromQuaternion(Quaternion quaternion,
Matrix3 result)
Computes a 3x3 rotation matrix from the provided quaternion.
|
static Matrix3 |
Matrix3.fromRotationX(double angle)
Creates a rotation matrix around the x-axis.
|
static Matrix3 |
Matrix3.fromRotationX(double angle,
Matrix3 result)
Creates a rotation matrix around the x-axis.
|
static Matrix3 |
Matrix3.fromRotationY(double angle)
Creates a rotation matrix around the y-axis.
|
static Matrix3 |
Matrix3.fromRotationY(double angle,
Matrix3 result)
Creates a rotation matrix around the y-axis.
|
static Matrix3 |
Matrix3.fromRotationZ(double angle,
Matrix3 result)
Creates a rotation matrix around the z-axis.
|
static Matrix3 |
Matrix3.fromRowMajorArray(double[] values)
Creates a Matrix3 instance from a row-major order array.
|
static Matrix3 |
Matrix3.fromRowMajorArray(double[] values,
Matrix3 result)
Creates a Matrix3 instance from a row-major order array.
|
static Matrix3 |
Matrix3.fromScale(Cartesian3 scale)
Computes a Matrix3 instance representing a non-uniform scale.
|
static Matrix3 |
Matrix3.fromScale(Cartesian3 scale,
Matrix3 result)
Computes a Matrix3 instance representing a non-uniform scale.
|
static Matrix3 |
Matrix3.fromUniformScale(double scale)
Computes a Matrix3 instance representing a uniform scale.
|
static Matrix3 |
Matrix3.fromUniformScale(double scale,
Matrix3 result)
Computes a Matrix3 instance representing a uniform scale.
|
static Matrix3 |
Matrix4.getRotation(Matrix4 matrix,
Matrix3 result)
Gets the upper left 3x3 rotation matrix of the provided matrix, assuming the matrix is a affine transformation matrix.
|
static Matrix3 |
Matrix3.IDENTITY()
An immutable Matrix3 instance initialized to the identity matrix.
|
static Matrix3 |
Matrix3.inverse(Matrix3 matrix,
Matrix3 result)
Computes the inverse of the provided matrix.
|
static Matrix3 |
Matrix3.multiply(Matrix3 left,
Matrix3 right,
Matrix3 result)
Computes the product of two matrices.
|
static Matrix3 |
Matrix3.multiplyByScalar(Matrix3 matrix,
double scalar,
Matrix3 result)
Computes the product of a matrix and a scalar.
|
static Matrix3 |
Matrix3.multiplyByScale(Matrix3 matrix,
Cartesian3 scale,
Matrix3 result)
Computes the product of a matrix times a (non-uniform) scale, as if the scale were a scale matrix.
|
static Matrix3 |
Matrix3.negate(Matrix3 matrix,
Matrix3 result)
Creates a negated copy of the provided matrix.
|
static Matrix3 |
Matrix3.setColumn(Matrix3 matrix,
int index,
Cartesian3 cartesian,
Matrix3 result)
Computes a new matrix that replaces the specified column in the provided matrix with the provided Cartesian3 instance.
|
static Matrix3 |
Matrix3.setRow(Matrix3 matrix,
int index,
Cartesian3 cartesian,
Matrix3 result)
Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian3 instance.
|
static Matrix3 |
Matrix3.subtract(Matrix3 left,
Matrix3 right,
Matrix3 result)
Computes the difference of two matrices.
|
static Matrix3 |
Matrix3.transpose(Matrix3 matrix,
Matrix3 result)
Computes the transpose of the provided matrix.
|
static Matrix3 |
Matrix3.unpack(double[] array)
Retrieves an instance from a packed array.
|
static Matrix3 |
Matrix3.unpack(double[] array,
int startingIndex)
Retrieves an instance from a packed array.
|
static Matrix3 |
Matrix3.unpack(double[] array,
int startingIndex,
Matrix3 result)
Retrieves an instance from a packed array.
|
static Matrix3 |
Matrix3.ZERO()
An immutable Matrix3 instance initialized to the zero matrix.
|
Modifier and Type | Method and Description |
---|---|
static Matrix3 |
Matrix3.abs(Matrix3 matrix,
Matrix3 result)
Computes a matrix, which contains the absolute (unsigned) values of the provided matrix's elements.
|
static Matrix3 |
Matrix3.add(Matrix3 left,
Matrix3 right,
Matrix3 result)
Computes the sum of two matrices.
|
Matrix3 |
Matrix3.clone(Matrix3 result)
Duplicates the provided Matrix3 instance.
|
static Matrix3 |
Matrix3.clone(Matrix3 matrix,
Matrix3 result)
Duplicates a Matrix3 instance.
|
static Object |
Matrix3.computeEigenDecomposition(Matrix3 matrix)
Computes the eigenvectors and eigenvalues of a symmetric matrix.
|
static Object |
Matrix3.computeEigenDecomposition(Matrix3 matrix,
Object result)
Computes the eigenvectors and eigenvalues of a symmetric matrix.
|
static Matrix3 |
Transforms.computeFixedToIcrfMatrix(JulianDate date,
Matrix3 result)
Computes a rotation matrix to transform a point or vector from the Earth-Fixed frame axes (ITRF) to the
International Celestial Reference Frame (GCRF/ICRF) inertial frame axes at a given time.
|
static Matrix3 |
Transforms.computeIcrfToFixedMatrix(JulianDate date,
Matrix3 result)
Computes a rotation matrix to transform a point or vector from the International Celestial Reference Frame (GCRF/ICRF)
inertial frame axes to the Earth-Fixed frame axes (ITRF) at a given time.
|
static Matrix3 |
Transforms.computeTemeToPseudoFixedMatrix(JulianDate date,
Matrix3 result)
Computes a rotation matrix to transform a point or vector from True Equator Mean Equinox (TEME) axes to
the pseudo-fixed axes at a given time.
|
static double |
Matrix3.determinant(Matrix3 matrix)
Computes the determinant of the provided matrix.
|
boolean |
Matrix3.equals(Matrix3 right)
Compares this matrix to the provided matrix componentwise and returns true if they are equal, false otherwise.
|
static boolean |
Matrix3.equals(Matrix3 left,
Matrix3 right)
Compares the provided matrices componentwise and returns true if they are equal, false otherwise.
|
boolean |
Matrix3.equalsEpsilon(Matrix3 right,
double epsilon)
Compares this matrix to the provided matrix componentwise and returns true if they are within the provided epsilon, false otherwise.
|
static boolean |
Matrix3.equalsEpsilon(Matrix3 left,
Matrix3 right,
double epsilon)
Compares the provided matrices componentwise and returns true if they are within the provided epsilon, false otherwise.
|
static Matrix3 |
Matrix3.fromArray(double[] array,
int startingIndex,
Matrix3 result)
Creates a Matrix3 from 4 consecutive elements in an array.
|
static Matrix3 |
Matrix3.fromColumnMajorArray(double[] values,
Matrix3 result)
Creates a Matrix3 instance from a column-major order array.
|
static Matrix3 |
Matrix3.fromCrossProduct(Cartesian3 the,
Matrix3 result)
Computes a Matrix3 instance representing the cross product equivalent matrix of a Cartesian3 vector.
|
static Matrix3 |
Matrix3.fromQuaternion(Quaternion quaternion,
Matrix3 result)
Computes a 3x3 rotation matrix from the provided quaternion.
|
static Quaternion |
Quaternion.fromRotationMatrix(Matrix3 matrix)
Computes a Quaternion from the provided Matrix3 instance.
|
static Quaternion |
Quaternion.fromRotationMatrix(Matrix3 matrix,
Quaternion result)
Computes a Quaternion from the provided Matrix3 instance.
|
static Matrix4 |
Matrix4.fromRotationTranslation(Matrix3 rotation)
Computes a Matrix4 instance from a Matrix3 representing the rotation and a Cartesian3 representing the translation.
|
static Matrix4 |
Matrix4.fromRotationTranslation(Matrix3 rotation,
Cartesian3 translation)
Computes a Matrix4 instance from a Matrix3 representing the rotation and a Cartesian3 representing the translation.
|
static Matrix4 |
Matrix4.fromRotationTranslation(Matrix3 rotation,
Cartesian3 translation,
Matrix4 result)
Computes a Matrix4 instance from a Matrix3 representing the rotation and a Cartesian3 representing the translation.
|
static Matrix3 |
Matrix3.fromRotationX(double angle,
Matrix3 result)
Creates a rotation matrix around the x-axis.
|
static Matrix3 |
Matrix3.fromRotationY(double angle,
Matrix3 result)
Creates a rotation matrix around the y-axis.
|
static Matrix3 |
Matrix3.fromRotationZ(double angle,
Matrix3 result)
Creates a rotation matrix around the z-axis.
|
static Matrix3 |
Matrix3.fromRowMajorArray(double[] values,
Matrix3 result)
Creates a Matrix3 instance from a row-major order array.
|
static Matrix3 |
Matrix3.fromScale(Cartesian3 scale,
Matrix3 result)
Computes a Matrix3 instance representing a non-uniform scale.
|
static Matrix3 |
Matrix3.fromUniformScale(double scale,
Matrix3 result)
Computes a Matrix3 instance representing a uniform scale.
|
static Cartesian3 |
Matrix3.getColumn(Matrix3 matrix,
int index,
Cartesian3 result)
Retrieves a copy of the matrix column at the provided index as a Cartesian3 instance.
|
static double |
Matrix3.getMaximumScale(Matrix3 matrix)
Computes the maximum scale assuming the matrix is an affine transformation.
|
static Matrix3 |
Matrix4.getRotation(Matrix4 matrix,
Matrix3 result)
Gets the upper left 3x3 rotation matrix of the provided matrix, assuming the matrix is a affine transformation matrix.
|
static Cartesian3 |
Matrix3.getRow(Matrix3 matrix,
int index,
Cartesian3 result)
Retrieves a copy of the matrix row at the provided index as a Cartesian3 instance.
|
static Cartesian3 |
Matrix3.getScale(Matrix3 matrix,
Cartesian3 result)
Extracts the non-uniform scale assuming the matrix is an affine transformation.
|
static Matrix3 |
Matrix3.inverse(Matrix3 matrix,
Matrix3 result)
Computes the inverse of the provided matrix.
|
static Matrix3 |
Matrix3.multiply(Matrix3 left,
Matrix3 right,
Matrix3 result)
Computes the product of two matrices.
|
static Matrix4 |
Matrix4.multiplyByMatrix3(Matrix4 matrix,
Matrix3 rotation,
Matrix4 result)
Multiplies a transformation matrix (with a bottom row of [0.0, 0.0, 0.0, 1.0]) by a 3x3 rotation matrix.
|
static Matrix3 |
Matrix3.multiplyByScalar(Matrix3 matrix,
double scalar,
Matrix3 result)
Computes the product of a matrix and a scalar.
|
static Matrix3 |
Matrix3.multiplyByScale(Matrix3 matrix,
Cartesian3 scale,
Matrix3 result)
Computes the product of a matrix times a (non-uniform) scale, as if the scale were a scale matrix.
|
static Cartesian3 |
Matrix3.multiplyByVector(Matrix3 matrix,
Cartesian3 cartesian,
Cartesian3 result)
Computes the product of a matrix and a column vector.
|
static Matrix3 |
Matrix3.negate(Matrix3 matrix,
Matrix3 result)
Creates a negated copy of the provided matrix.
|
static double[] |
Matrix3.pack(Matrix3 value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
Matrix3.pack(Matrix3 value,
double[] array,
int startingIndex)
Stores the provided instance into the provided array.
|
static Matrix3 |
Matrix3.setColumn(Matrix3 matrix,
int index,
Cartesian3 cartesian,
Matrix3 result)
Computes a new matrix that replaces the specified column in the provided matrix with the provided Cartesian3 instance.
|
static Matrix3 |
Matrix3.setRow(Matrix3 matrix,
int index,
Cartesian3 cartesian,
Matrix3 result)
Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian3 instance.
|
static Matrix3 |
Matrix3.subtract(Matrix3 left,
Matrix3 right,
Matrix3 result)
Computes the difference of two matrices.
|
static double[] |
Matrix3.toArray(Matrix3 matrix)
Creates an Array from the provided Matrix3 instance.
|
static double[] |
Matrix3.toArray(Matrix3 matrix,
double[] result)
Creates an Array from the provided Matrix3 instance.
|
static Matrix3 |
Matrix3.transpose(Matrix3 matrix,
Matrix3 result)
Computes the transpose of the provided matrix.
|
static Matrix3 |
Matrix3.unpack(double[] array,
int startingIndex,
Matrix3 result)
Retrieves an instance from a packed array.
|
Constructor and Description |
---|
OrientedBoundingBox(Cartesian3 center,
Matrix3 halfAxes)
Creates an instance of an OrientedBoundingBox.
|
Copyright © 2019. All rights reserved.