qisdk / com.aldebaran.qi.sdk.object.geometry / Quaternion

Quaternion

@QiStruct open class Quaternion

Quaternion representation of rotations. See https://en.wikipedia.org/wiki/Quaternion for more information.

Since
1

Constructors

<init>

Create a new Quaternion

Quaternion(x: Double, y: Double, z: Double, w: Double)

Functions

equals

open fun equals(other: Any?): Boolean

getW

open fun getW(): Double

getX

open fun getX(): Double

getY

open fun getY(): Double

getZ

open fun getZ(): Double

hashCode

open fun hashCode(): Int

setW

Setter for w

open fun setW(w: Double): Unit

setX

Setter for x

open fun setX(x: Double): Unit

setY

Setter for y

open fun setY(y: Double): Unit

setZ

Setter for z

open fun setZ(z: Double): Unit

toString

open fun toString(): String