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.ParcelableEuler 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)protectedEulerAngle(android.os.Parcel in)EulerAngle(EulerAngle original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.booleanequals(java.lang.Object o)floatgetPitch()floatgetRoll()doublegetScreenAngle()floatgetYaw()inthashCode()voidsetPitch(float pitch)voidsetRoll(float roll)voidsetYaw(float yaw)voidwriteToParcel(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.ParcelableDescribe 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_DESCRIPTORbit.- Specified by:
describeContentsin 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.ParcelableFlatten this object in to a Parcel.- Specified by:
writeToParcelin 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-