Rotation#Rotation(RotationOrder, double, double, double)
constructor or the Rotation#getAngles method.
| Modifier and Type | Field and Description |
|---|---|
| private final Vector3D | a1
Axis of the first rotation. |
| private final Vector3D | a2
Axis of the second rotation. |
| private final Vector3D | a3
Axis of the third rotation. |
| private final String | name
Name of the rotations order. |
| public static final RotationOrder | XYX
Set of Euler angles. |
| public static final RotationOrder | XYZ
Set of Cardan angles. |
| public static final RotationOrder | XZX
Set of Euler angles. |
| public static final RotationOrder | XZY
Set of Cardan angles. |
| public static final RotationOrder | YXY
Set of Euler angles. |
| public static final RotationOrder | YXZ
Set of Cardan angles. |
| public static final RotationOrder | YZX
Set of Cardan angles. |
| public static final RotationOrder | YZY
Set of Euler angles. |
| public static final RotationOrder | ZXY
Set of Cardan angles. |
| public static final RotationOrder | ZXZ
Set of Euler angles. |
| public static final RotationOrder | ZYX
Set of Cardan angles. |
| public static final RotationOrder | ZYZ
Set of Euler angles. |
| Access | Constructor and Description |
|---|---|
| private | RotationOrder(final String
name of the rotation order name, final Vector3D axis of the first rotation a1, final Vector3D axis of the second rotation a2, final Vector3D axis of the third rotation a3)Private constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public Vector3D | |
| public Vector3D | |
| public Vector3D | |
| public String | Returns: a string representation of the instance (in fact, its name)Overrides java. Get a string representation of the instance. |
| a1 | back to summary |
|---|---|
| private final Vector3D a1 Axis of the first rotation. | |
| a2 | back to summary |
|---|---|
| private final Vector3D a2 Axis of the second rotation. | |
| a3 | back to summary |
|---|---|
| private final Vector3D a3 Axis of the third rotation. | |
| name | back to summary |
|---|---|
| private final String name Name of the rotations order. | |
| XYX | back to summary |
|---|---|
| public static final RotationOrder XYX Set of Euler angles. this ordered set of rotations is around X, then around Y, then around X | |
| XYZ | back to summary |
|---|---|
| public static final RotationOrder XYZ Set of Cardan angles. this ordered set of rotations is around X, then around Y, then around Z | |
| XZX | back to summary |
|---|---|
| public static final RotationOrder XZX Set of Euler angles. this ordered set of rotations is around X, then around Z, then around X | |
| XZY | back to summary |
|---|---|
| public static final RotationOrder XZY Set of Cardan angles. this ordered set of rotations is around X, then around Z, then around Y | |
| YXY | back to summary |
|---|---|
| public static final RotationOrder YXY Set of Euler angles. this ordered set of rotations is around Y, then around X, then around Y | |
| YXZ | back to summary |
|---|---|
| public static final RotationOrder YXZ Set of Cardan angles. this ordered set of rotations is around Y, then around X, then around Z | |
| YZX | back to summary |
|---|---|
| public static final RotationOrder YZX Set of Cardan angles. this ordered set of rotations is around Y, then around Z, then around X | |
| YZY | back to summary |
|---|---|
| public static final RotationOrder YZY Set of Euler angles. this ordered set of rotations is around Y, then around Z, then around Y | |
| ZXY | back to summary |
|---|---|
| public static final RotationOrder ZXY Set of Cardan angles. this ordered set of rotations is around Z, then around X, then around Y | |
| ZXZ | back to summary |
|---|---|
| public static final RotationOrder ZXZ Set of Euler angles. this ordered set of rotations is around Z, then around X, then around Z | |
| ZYX | back to summary |
|---|---|
| public static final RotationOrder ZYX Set of Cardan angles. this ordered set of rotations is around Z, then around Y, then around X | |
| ZYZ | back to summary |
|---|---|
| public static final RotationOrder ZYZ Set of Euler angles. this ordered set of rotations is around Z, then around Y, then around Z | |
| RotationOrder | back to summary |
|---|---|
| private RotationOrder(final String name, final Vector3D a1, final Vector3D a2, final Vector3D a3) Private constructor. This is a utility class that cannot be instantiated by the user, so its only constructor is private. | |
| getA1 | back to summary |
|---|---|
| public Vector3D getA1() Get the axis of the first rotation.
| |
| getA2 | back to summary |
|---|---|
| public Vector3D getA2() Get the axis of the second rotation.
| |
| getA3 | back to summary |
|---|---|
| public Vector3D getA3() Get the axis of the second rotation.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Get a string representation of the instance. | |