|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.coordinate.Attitude
An object containing a set of measure objects that together represent an orientation, also commonly known as Euler Angles.
Longitude,
Latitude| Field Summary | |
Latitude |
pitch
The pitch of the Attitude object |
Longitude |
roll
The roll of the Attitude object |
Longitude |
yaw
The yaw of the Attitude object |
| Constructor Summary | |
Attitude()
Create an Attitude initialized with default parameters; all
coordinate components set to zero. |
|
Attitude(Attitude a)
Create an Attitude initialized to duplicate the passed object. |
|
Attitude(double yawDegrees,
double pitchDegrees,
double rollDegrees)
Create an Attitude initialized to the specified values. |
|
Attitude(Longitude yaw,
Latitude pitch,
Longitude roll)
Create an Attitude initialized to the specified values. |
|
| Method Summary | |
void |
clear()
Clear the Attitude's components. |
boolean |
equals(java.lang.Object obj)
Compare two Attitude objects for equality. |
int |
hashCode()
Calculate the hashcode |
void |
set(Attitude a)
Set the Attitude's components. |
void |
set(double yawDegrees,
double pitchDegrees,
double rollDegrees)
Set the Attitude's components. |
void |
set(Longitude yaw,
Latitude pitch,
Longitude roll)
Set the Attitude's components. |
java.lang.String |
toString()
Return a string representation of this attitude. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public final Longitude yaw
Attitude object
public final Latitude pitch
Attitude object
public final Longitude roll
Attitude object
| Constructor Detail |
public Attitude()
Attitude initialized with default parameters; all
coordinate components set to zero.
public Attitude(Longitude yaw,
Latitude pitch,
Longitude roll)
Attitude initialized to the specified values.
public Attitude(double yawDegrees,
double pitchDegrees,
double rollDegrees)
Attitude initialized to the specified values.
public Attitude(Attitude a)
Attitude initialized to duplicate the passed object.
| Method Detail |
public void set(Longitude yaw,
Latitude pitch,
Longitude roll)
Attitude's components.
yaw - the Longitude initializer for the yaw componentpitch - the Latitude initializer for the pitch componentroll - the Longitude initializer for the roll component
public void set(double yawDegrees,
double pitchDegrees,
double rollDegrees)
Attitude's components.
yawDegrees - the double value initializer for the yaw componentpitchDegrees - the double value initializer for the pitch componentrollDegrees - the double value initializer for the roll componentpublic void set(Attitude a)
Attitude's components.
a - the initializing Attitude objectpublic void clear()
Attitude's components.
public int hashCode()
public boolean equals(java.lang.Object obj)
Attitude objects for equality. The result is
true if and only if the argument object is not null, is an
Attitude object and represents an identical orientation
as this Attitude coordinate object.
Two Attitude coordinate objects are equal only if it's constituent
Longitude and Latitude objects are equal.
obj - the object to compare with
true if the Attitude coordinate objects are the same;
false otherwise.public java.lang.String toString()
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||