Package | Description |
---|---|
JSci.maths |
Modifier and Type | Field and Description |
---|---|
static Quaternion |
Quaternion.I |
static Quaternion |
Quaternion.J |
static Quaternion |
Quaternion.K |
static Quaternion |
Quaternion.ONE |
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.add(Quaternion q)
Returns the addition of this quaternion and another.
|
Quaternion |
Quaternion.addImag(Double3Vector imag)
Returns the addition of this quaternion with an imaginary part.
|
Quaternion |
Quaternion.addReal(double real)
Returns the addition of this quaternion with a real part.
|
Quaternion |
Quaternion.conjugate()
Returns the conjugate of this quaternion.
|
Quaternion |
Quaternion.divide(double x)
Returns the division of this quaternion by a scalar.
|
Quaternion |
Quaternion.divide(Quaternion q)
Returns the division of this quaternion by another.
|
Quaternion |
Quaternion.multiply(double x)
Returns the multiplication of this quaternion by a scalar.
|
Quaternion |
Quaternion.multiply(Quaternion q)
Returns the multiplication of this quaternion and another.
|
Quaternion |
Quaternion.subtract(Quaternion q)
Returns the subtraction of this quaternion by another.
|
Quaternion |
Quaternion.subtractImag(Double3Vector imag)
Returns the subtraction of this quaternion by an imaginary part.
|
Quaternion |
Quaternion.subtractReal(double real)
Returns the subtraction of this quaternion by a real part.
|
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.add(Quaternion q)
Returns the addition of this quaternion and another.
|
Quaternion |
Quaternion.divide(Quaternion q)
Returns the division of this quaternion by another.
|
Quaternion |
Quaternion.multiply(Quaternion q)
Returns the multiplication of this quaternion and another.
|
Quaternion |
Quaternion.subtract(Quaternion q)
Returns the subtraction of this quaternion by another.
|