public class Quaternion
extends java.lang.Object
Quaternion can indicate an orientation in three-space without the trouble of
possible gimbal-lock.| Modifier and Type | Field and Description |
|---|---|
long |
acquisitionTime
the time on the System.nanoTime() clock at which the data was acquired.
|
float |
w |
float |
x |
float |
y |
float |
z |
| Constructor and Description |
|---|
Quaternion() |
Quaternion(float w,
float x,
float y,
float z,
long acquisitionTime) |
| Modifier and Type | Method and Description |
|---|---|
Quaternion |
congugate() |
float |
magnitude() |
Quaternion |
normalized() |
public float w
public float x
public float y
public float z
public long acquisitionTime
public Quaternion()
public Quaternion(float w,
float x,
float y,
float z,
long acquisitionTime)
public float magnitude()
public Quaternion normalized()
public Quaternion congugate()