Package | Description |
---|---|
pythagoras.d |
The Pythagoras geometry utility classes specialized on
double . |
Modifier and Type | Field and Description |
---|---|
static Matrix3 |
Matrix3.IDENTITY
the identity matrix.
|
Modifier and Type | Method and Description |
---|---|
Matrix3 |
Matrix3.add(pythagoras.d.IMatrix3 other) |
Matrix3 |
Matrix3.add(pythagoras.d.IMatrix3 other,
Matrix3 result) |
Matrix3 |
Matrix3.addLocal(pythagoras.d.IMatrix3 other)
Adds
other to this matrix, in place. |
Matrix3 |
Matrix4.extractRotationScale(Matrix3 result) |
Matrix3 |
IMatrix4.extractRotationScale(Matrix3 result)
Extracts the rotation and scale components and places them in the provided result.
|
Matrix3 |
Matrix3.invert() |
Matrix3 |
Matrix3.invert(Matrix3 result)
Inverts this matrix and places the result in the given object.
|
Matrix3 |
Matrix3.invertAffine() |
Matrix3 |
Matrix3.invertAffine(Matrix3 result) |
Matrix3 |
Matrix3.invertAffineLocal()
Inverts this matrix in-place as an affine matrix.
|
Matrix3 |
Matrix3.invertLocal()
Inverts this matrix in-place.
|
Matrix3 |
Matrix3.lerp(pythagoras.d.IMatrix3 other,
double t) |
Matrix3 |
Matrix3.lerp(pythagoras.d.IMatrix3 other,
double t,
Matrix3 result) |
Matrix3 |
Matrix3.lerpAffine(pythagoras.d.IMatrix3 other,
double t) |
Matrix3 |
Matrix3.lerpAffine(pythagoras.d.IMatrix3 other,
double t,
Matrix3 result) |
Matrix3 |
Matrix3.lerpAffineLocal(pythagoras.d.IMatrix3 other,
double t)
Linearly interpolates between this and the specified other matrix (treating the matrices as
affine), placing the result in this matrix.
|
Matrix3 |
Matrix3.lerpLocal(pythagoras.d.IMatrix3 other,
double t)
Linearly interpolates between the this and the specified other matrix, placing the result in
this matrix.
|
Matrix3 |
Matrix3.mult(pythagoras.d.IMatrix3 other) |
Matrix3 |
Matrix3.mult(pythagoras.d.IMatrix3 other,
Matrix3 result) |
Matrix3 |
Matrix3.multAffine(pythagoras.d.IMatrix3 other) |
Matrix3 |
Matrix3.multAffine(pythagoras.d.IMatrix3 other,
Matrix3 result) |
Matrix3 |
Matrix3.multAffineLocal(pythagoras.d.IMatrix3 other)
Multiplies this matrix in-place by another, treating the matricees as affine.
|
Matrix3 |
Matrix3.multLocal(pythagoras.d.IMatrix3 other)
Multiplies this matrix in-place by another.
|
Matrix3 |
Matrix3.set(double[] values)
Copies the elements of an array.
|
Matrix3 |
Matrix3.set(double m00,
double m10,
double m20,
double m01,
double m11,
double m21,
double m02,
double m12,
double m22)
Sets all of the matrix's components at once.
|
Matrix3 |
Matrix3.set(pythagoras.d.IMatrix3 other)
Copies the contents of another matrix.
|
Matrix3 |
Matrix3.setToIdentity()
Sets this matrix to the identity matrix.
|
Matrix3 |
Matrix3.setToReflection(double x,
double y,
double z)
Sets this to a reflection across a plane intersecting the origin with the supplied normal.
|
Matrix3 |
Matrix3.setToReflection(IVector3 normal)
Sets this to a reflection across a plane intersecting the origin with the supplied normal.
|
Matrix3 |
Matrix3.setToRotation(double angle)
Sets this to a rotation matrix.
|
Matrix3 |
Matrix3.setToRotation(double angle,
double x,
double y,
double z)
Sets this to a rotation matrix.
|
Matrix3 |
Matrix3.setToRotation(double angle,
IVector3 axis)
Sets this to a rotation matrix.
|
Matrix3 |
Matrix3.setToRotation(IQuaternion quat)
Sets this to a rotation matrix.
|
Matrix3 |
Matrix3.setToRotation(IVector3 from,
IVector3 to)
Sets this to a rotation matrix that rotates one vector onto another.
|
Matrix3 |
Matrix3.setToScale(double s)
Sets this to a uniform scale matrix.
|
Matrix3 |
Matrix3.setToScale(double x,
double y,
double z)
Sets this to a scale matrix.
|
Matrix3 |
Matrix3.setToScale(IVector3 scale)
Sets this to a scale matrix.
|
Matrix3 |
Matrix3.setToTransform(IVector translation,
double rotation)
Sets this to a matrix that first rotates, then translates.
|
Matrix3 |
Matrix3.setToTransform(IVector translation,
double rotation,
double scale)
Sets this to a matrix that first scales, then rotates, then translates.
|
Matrix3 |
Matrix3.setToTransform(IVector translation,
double rotation,
IVector scale)
Sets this to a matrix that first scales, then rotates, then translates.
|
Matrix3 |
Matrix3.setToTranslation(double x,
double y)
Sets this to a translation matrix.
|
Matrix3 |
Matrix3.setToTranslation(IVector translation)
Sets this to a translation matrix.
|
Matrix3 |
Matrix3.setToZero()
Sets this matrix to all zeroes.
|
Matrix3 |
Matrix3.setTranslation(double x,
double y)
Sets the translation component of this matrix.
|
Matrix3 |
Matrix3.setTranslation(IVector translation)
Sets the translation component of this matrix.
|
Matrix3 |
Matrix3.transpose() |
Matrix3 |
Matrix3.transpose(Matrix3 result) |
Matrix3 |
Matrix3.transposeLocal()
Transposes this matrix in-place.
|
Modifier and Type | Method and Description |
---|---|
Matrix3 |
Matrix3.add(pythagoras.d.IMatrix3 other,
Matrix3 result) |
Box |
Frustum.boundsUnderRotation(Matrix3 matrix,
Box result)
Computes the bounds of the frustum under the supplied rotation and places the results in
the box provided.
|
Matrix3 |
Matrix4.extractRotationScale(Matrix3 result) |
Matrix3 |
IMatrix4.extractRotationScale(Matrix3 result)
Extracts the rotation and scale components and places them in the provided result.
|
Matrix3 |
Matrix3.invert(Matrix3 result)
Inverts this matrix and places the result in the given object.
|
Matrix3 |
Matrix3.invertAffine(Matrix3 result) |
Matrix3 |
Matrix3.lerp(pythagoras.d.IMatrix3 other,
double t,
Matrix3 result) |
Matrix3 |
Matrix3.lerpAffine(pythagoras.d.IMatrix3 other,
double t,
Matrix3 result) |
Matrix3 |
Matrix3.mult(pythagoras.d.IMatrix3 other,
Matrix3 result) |
Matrix3 |
Matrix3.multAffine(pythagoras.d.IMatrix3 other,
Matrix3 result) |
Matrix3 |
Matrix3.transpose(Matrix3 result) |
Constructor and Description |
---|
Matrix3(Matrix3 other)
Copy constructor.
|
Copyright © 2017. All rights reserved.