Class Orientation
- java.lang.Object
-
- org.opentrafficsim.road.network.factory.rti.data.Orientation
-
- All Implemented Interfaces:
java.io.Serializable
public class Orientation extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Orientation()Orientation(double rotX, double rotY, double rotZ)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetPitch()floatgetRoll()floatgetYaw()voidsetPitch(float pitch)voidsetRoll(float roll)voidsetYaw(float yaw)java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getYaw
public float getYaw()
- Returns:
- yaw
-
setYaw
public void setYaw(float yaw)
- Parameters:
yaw- float; set yaw
-
getPitch
public float getPitch()
- Returns:
- pitch
-
setPitch
public void setPitch(float pitch)
- Parameters:
pitch- float; set pitch
-
getRoll
public float getRoll()
- Returns:
- roll
-
setRoll
public void setRoll(float roll)
- Parameters:
roll- float; set roll
-
-