Uses of Class
org.apache.commons.geometry.euclidean.twod.rotation.Rotation2D
Packages that use Rotation2D
Package
Description
This package provides basic 3D geometry components.
This package provides basic 2D geometry components.
This package provides components related to rotations in 2 dimensional
Euclidean space.
This package provides utilities for constructing basic 2D shapes.
-
Uses of Rotation2D in org.apache.commons.geometry.euclidean.threed
Methods in org.apache.commons.geometry.euclidean.threed that return Rotation2DModifier and TypeMethodDescriptionprivate Rotation2D
EmbeddedTreePlaneSubset.getEmbeddedRegionRotation
(PlaneSubset.Embedded embedded) Construct a rotation transform used to transform the subspace of the given embedded region plane subset into the subspace of this instance. -
Uses of Rotation2D in org.apache.commons.geometry.euclidean.twod
Methods in org.apache.commons.geometry.euclidean.twod with parameters of type Rotation2DModifier and TypeMethodDescriptionstatic AffineTransformMatrix2D
AffineTransformMatrix2D.createRotation
(Vector2D center, Rotation2D rotation) Create a transform representing a counterclockwise rotation around the given center point.AffineTransformMatrix2D.rotate
(Rotation2D rotation) Apply a counterclockwise rotation to the current instance, returning the result as a new transform.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. -
Uses of Rotation2D in org.apache.commons.geometry.euclidean.twod.rotation
Fields in org.apache.commons.geometry.euclidean.twod.rotation declared as Rotation2DModifier and TypeFieldDescriptionprivate static final Rotation2D
Rotation2D.IDENTITY
Instance representing a rotation of zero radians.Methods in org.apache.commons.geometry.euclidean.twod.rotation that return Rotation2DModifier and TypeMethodDescriptionstatic Rotation2D
Rotation2D.createVectorRotation
(Vector2D u, Vector2D v) Create a rotation instance that rotates the vectoru
to point in the direction of vectorv
.static Rotation2D
Rotation2D.identity()
Return an instance representing the identity rotation, ie a rotation of zero radians.Rotation2D.inverse()
Get an instance representing the inverse transform.static Rotation2D
Rotation2D.of
(double angle) Create a new instance with the given angle of rotation. -
Uses of Rotation2D in org.apache.commons.geometry.euclidean.twod.shape
Fields in org.apache.commons.geometry.euclidean.twod.shape declared as Rotation2DModifier and TypeFieldDescriptionprivate Rotation2D
Parallelogram.Builder.rotation
The rotation of the parallelogram.Methods in org.apache.commons.geometry.euclidean.twod.shape with parameters of type Rotation2DModifier and TypeMethodDescriptionParallelogram.Builder.setRotation
(Rotation2D rot) Set the rotation of the created parallelogram.