public class CustomRotation
extends org.apache.commons.math3.geometry.euclidean.threed.Rotation
| Constructor and Description |
|---|
CustomRotation(org.apache.commons.math3.geometry.euclidean.threed.RotationOrder order,
double alpha1,
double alpha2,
double alpha3) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
getAngles()
Get the Cardan or Euler angles corresponding to the instance in the initial rotation order.
|
double[] |
getAngles(org.apache.commons.math3.geometry.euclidean.threed.RotationOrder order) |
org.apache.commons.math3.geometry.euclidean.threed.RotationOrder |
getRotationOrder()
Getter for the order of rotations to use for (alpha1, alpha2, alpha3) composition.
|
String |
toString() |
public CustomRotation(org.apache.commons.math3.geometry.euclidean.threed.RotationOrder order,
double alpha1,
double alpha2,
double alpha3)
throws ArithmeticException
order - order of rotations to usealpha1 - angle of the first elementary rotationalpha2 - angle of the second elementary rotationalpha3 - angle of the third elementary rotationArithmeticException - if one of the angles is NaN or infinity.Rotation.Rotation(RotationOrder, double, double, double)public double[] getAngles(org.apache.commons.math3.geometry.euclidean.threed.RotationOrder order)
getAngles in class org.apache.commons.math3.geometry.euclidean.threed.Rotationpublic double[] getAngles()
Rotation.getAngles(RotationOrder)public org.apache.commons.math3.geometry.euclidean.threed.RotationOrder getRotationOrder()
public String toString()
toString in class org.apache.commons.math3.geometry.euclidean.threed.RotationCopyright © 2017. All rights reserved.