public interface Rotation<T extends Rotation<?>> extends javolution.lang.ValueType, javolution.lang.Realtime
This class represents a relative orientation (attitude or rotation transformation) between two different reference frames; B wrt A or BA. It can be used to transform coordinates in reference frame A to reference frame B (A2B).
Modified by: Joseph A. Huwaldt
Modifier and Type | Field and Description |
---|---|
static Rotation |
IDENTITY
A Rotation object that represents no relative change in orientation.
|
Modifier and Type | Method and Description |
---|---|
T |
copy()
Returns an independent copy of this attitude transform.
|
T |
times(Rotation<?> that)
Returns the product of this attitude transformation and another.
|
DCMatrix |
toDCM()
Returns a direction cosine transformation matrix from this attitude transformation.
|
Quaternion |
toQuaternion()
Returns a quaternion representing this attitude transformation.
|
<Q extends Quantity> |
transform(Coordinate3D<Q> v)
Transforms a 3D vector from frame A to B using this attitude transformation.
|
T |
transpose()
Returns the spatial inverse of this transformation: AB rather than BA.
|
<Q extends Quantity> Vector3D<Q> transform(Coordinate3D<Q> v)
v
- the vector expressed in frame A.T transpose()
this'
T times(Rotation<?> that)
that
- the attitude transform multiplier.this · that
DCMatrix toDCM()
Quaternion toQuaternion()