kaos.spatial
Class Orientation3D
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Orientation3D
public Orientation3D(java.lang.String id,
double roll,
double pitch,
double yaw)
- Parameters:
id
- - id of the orientationroll
- pitch
- yaw
-
Orientation3D
public Orientation3D()
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.