Package com.appliedrec.verid.core2
Class EulerAngle
- java.lang.Object
-
- com.appliedrec.verid.core2.EulerAngle
-
- All Implemented Interfaces:
android.os.Parcelable
public class EulerAngle extends java.lang.Object implements android.os.Parcelable
Euler angle- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<EulerAngle>
CREATOR
-
Constructor Summary
Constructors Modifier Constructor Description EulerAngle()
EulerAngle(float yaw, float pitch, float roll)
protected
EulerAngle(android.os.Parcel in)
EulerAngle(EulerAngle original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.boolean
equals(java.lang.Object o)
float
getPitch()
float
getRoll()
double
getScreenAngle()
float
getYaw()
int
hashCode()
void
setPitch(float pitch)
void
setRoll(float roll)
void
setYaw(float yaw)
void
writeToParcel(android.os.Parcel dest, int flags)
Flatten this object in to a Parcel.
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<EulerAngle> CREATOR
-
-
Constructor Detail
-
EulerAngle
public EulerAngle()
-
EulerAngle
public EulerAngle(float yaw, float pitch, float roll)
-
EulerAngle
public EulerAngle(EulerAngle original)
-
EulerAngle
protected EulerAngle(android.os.Parcel in)
-
-
Method Detail
-
getYaw
public float getYaw()
- Returns:
- Yaw
- Since:
- 1.0.0
-
getPitch
public float getPitch()
- Returns:
- Pitch
- Since:
- 1.0.0
-
getRoll
public float getRoll()
- Returns:
- Roll
- Since:
- 1.0.0
-
setYaw
public void setYaw(float yaw)
-
setPitch
public void setPitch(float pitch)
-
setRoll
public void setRoll(float roll)
-
getScreenAngle
public double getScreenAngle()
-
describeContents
public int describeContents()
Description copied from interface:android.os.Parcelable
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output ofParcelable.writeToParcel(Parcel, int)
, the return value of this method must include theParcelable.CONTENTS_FILE_DESCRIPTOR
bit.- Specified by:
describeContents
in interfaceandroid.os.Parcelable
- Returns:
- a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
Description copied from interface:android.os.Parcelable
Flatten this object in to a Parcel.- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
- Parameters:
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written. May be 0 orParcelable.PARCELABLE_WRITE_RETURN_VALUE
.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-