Package | Description |
---|---|
org.apache.commons.geometry.euclidean.threed |
This package provides basic 3D geometry components.
|
org.apache.commons.geometry.euclidean.threed.rotation |
This package provides components related to rotations in 3 dimensional
Euclidean space.
|
Modifier and Type | Method and Description |
---|---|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.createRotation(Vector3D center,
QuaternionRotation rotation)
Create a transform representing a rotation about the given center point.
|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.createScale(double factor)
Create a transform representing a scale operation with the given scale factor applied to all axes.
|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.createScale(double x,
double y,
double z)
Create a transform representing a scale operation.
|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.createScale(Vector3D factors)
Create a transform representing a scale operation.
|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.createTranslation(double x,
double y,
double z)
Create a transform representing the given translation.
|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.createTranslation(Vector3D translation)
Create a transform representing the given translation.
|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.from(UnaryOperator<Vector3D> fn)
Construct a new transform representing the given function.
|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.fromColumnVectors(Vector3D u,
Vector3D v,
Vector3D w)
Get a new transform create from the given column vectors.
|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.fromColumnVectors(Vector3D u,
Vector3D v,
Vector3D w,
Vector3D t)
Get a new transform created from the given column vectors.
|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.identity()
Get the transform representing the identity matrix.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.inverse() |
AffineTransformMatrix3D |
AffineTransformMatrix3D.linear()
Return a matrix containing only the linear portion of this transform.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.linearTranspose()
Return a matrix containing the transpose of the linear portion of this transform.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.multiply(AffineTransformMatrix3D m)
Get a new transform created by multiplying this instance by the argument.
|
static AffineTransformMatrix3D |
AffineTransformMatrix3D.of(double... arr)
Get a new transform with the given matrix elements.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.premultiply(AffineTransformMatrix3D m)
Get a new transform created by multiplying the argument by this instance.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.rotate(QuaternionRotation rotation)
Apply a rotation to the current instance, returning the result as a new transform.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.rotate(Vector3D center,
QuaternionRotation rotation)
Apply a rotation around the given center point to the current instance, returning the result
as a new transform.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.scale(double factor)
Apply a scale operation to the current instance, returning the result as a new transform.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.scale(double x,
double y,
double z)
Apply a scale operation to the current instance, returning the result as a new transform.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.scale(Vector3D scaleFactors)
Apply a scale operation to the current instance, returning the result as a new transform.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.translate(double x,
double y,
double z)
Apply a translation to the current instance, returning the result as a new transform.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.translate(Vector3D translation)
Apply a translation to the current instance, returning the result as a new transform.
|
Modifier and Type | Method and Description |
---|---|
AffineTransformMatrix3D |
AffineTransformMatrix3D.multiply(AffineTransformMatrix3D m)
Get a new transform created by multiplying this instance by the argument.
|
AffineTransformMatrix3D |
AffineTransformMatrix3D.premultiply(AffineTransformMatrix3D m)
Get a new transform created by multiplying the argument by this instance.
|
Modifier and Type | Method and Description |
---|---|
AffineTransformMatrix3D |
QuaternionRotation.toMatrix()
Return an
AffineTransformMatrix3D representing the same rotation as this
instance. |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.