kaos.spatial
Class Orientation3D

java.lang.Object
  extended by kaos.spatial.Orientation3D
All Implemented Interfaces:
java.io.Serializable

public class Orientation3D
extends java.lang.Object
implements java.io.Serializable

This class represents 3D orientation information in the form of xyz radius.

See Also:
Serialized Form

Constructor Summary
Orientation3D()
           
Orientation3D(java.lang.String id, double roll, double pitch, double yaw)
           
 
Method Summary
 java.lang.String getModificationType()
           
 java.lang.String getMyId()
           
 double getPitch()
           
 double getRoll()
           
 double getYaw()
           
 void setModificationType(java.lang.String modType)
           
 void setPitch(double radius)
           
 void setRoll(double radius)
           
 void setYaw(double radius)
           
 java.lang.String toString()
          A utility method to create a String representation of the Orientation3D.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Orientation3D

public Orientation3D(java.lang.String id,
                     double roll,
                     double pitch,
                     double yaw)
Parameters:
id - - id of the orientation
roll -
pitch -
yaw -

Orientation3D

public Orientation3D()
Method Detail

getRoll

public double getRoll()
Returns:
Returns the roll.

setRoll

public void setRoll(double radius)
Parameters:
radius - The roll to set.

getPitch

public double getPitch()
Returns:
Returns the pitch.

setPitch

public void setPitch(double radius)
Parameters:
radius - The pitch to set.

getYaw

public double getYaw()
Returns:
Returns the yaw.

setYaw

public void setYaw(double radius)
Parameters:
radius - The yaw to set.

getMyId

public java.lang.String getMyId()
Returns:
Returns the myId.

setModificationType

public void setModificationType(java.lang.String modType)

getModificationType

public java.lang.String getModificationType()

toString

public java.lang.String toString()
A utility method to create a String representation of the Orientation3D.

Overrides:
toString in class java.lang.Object
Returns:
String representing the Orientation3D.