Enum AxisReferenceFrame
- All Implemented Interfaces:
Serializable
,Comparable<AxisReferenceFrame>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AxisReferenceFrame
Returns the enum constant of this type with the specified name.static AxisReferenceFrame[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RELATIVE
Defines a relative reference frame for a rotation sequence. Sequences with this type of reference frame are called intrinsic rotations.When using a relative reference frame, each successive axis is located relative to the "thing" being rotated and not to some external frame of reference. For example, say that a rotation sequence is defined around the
x
,y
, andz
axes in that order. The first rotation will occur around the standardx
axis. The second rotation, however, will occur around they
axis after it has been rotated by the first rotation; we can call this new axisy'
. Similarly, the third rotation will occur aroundz''
, which may or may not match the originalz
axis. A good real-world example of this type of situation is an airplane, where a pilot makes a sequence of rotations in order, with each rotation using the airplane's own up/down, left/right, back/forward directions as the frame of reference. -
ABSOLUTE
Defines an absolute reference frame for a rotation sequence. Sequences with this type of reference frame are called extrinsic rotations.In contrast with the relative reference frame, the absolute reference frame remains fixed throughout a rotation sequence, with each rotation axis not affected by the rotations.
-
-
Constructor Details
-
AxisReferenceFrame
private AxisReferenceFrame()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-