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