Uses of Class
org.apache.commons.geometry.euclidean.twod.rotation.Rotation2D
-
Packages that use Rotation2D 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.org.apache.commons.geometry.euclidean.twod.shape 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 Rotation2D Modifier and Type Method Description private 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 Rotation2D Modifier and Type Method Description static AffineTransformMatrix2D
AffineTransformMatrix2D. createRotation(Vector2D center, Rotation2D rotation)
Create a transform representing a counterclockwise rotation around the given center point.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, 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 Rotation2D Modifier and Type Field Description private static Rotation2D
Rotation2D. IDENTITY
Instance representing a rotation of zero radians.Methods in org.apache.commons.geometry.euclidean.twod.rotation that return Rotation2D Modifier and Type Method Description static 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
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 Rotation2D Modifier and Type Field Description private Rotation2D
Parallelogram.Builder. rotation
The rotation of the parallelogram.Methods in org.apache.commons.geometry.euclidean.twod.shape with parameters of type Rotation2D Modifier and Type Method Description Parallelogram.Builder
Parallelogram.Builder. setRotation(Rotation2D rot)
Set the rotation of the created parallelogram.
-