|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectQuaternion
com.jbergin.util.OpenQuaternion
public class OpenQuaternion
A class that reveals the coefficients of a quaternion.
| Constructor Summary | |
|---|---|
OpenQuaternion(double x,
double y,
double z,
double r)
Obtain an open quaternion with given coefficients. |
|
| Method Summary | |
|---|---|
double |
r()
Get the real coefficient |
java.lang.String |
toString()
|
double |
x()
Obtain the x coefficient |
double |
y()
Obtain the y coefficient |
double |
z()
Obtain the z coefficient |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OpenQuaternion(double x,
double y,
double z,
double r)
x - the x coefficienty - the y coefficientz - the z coefficientr - the real coefficient| Method Detail |
|---|
public double x()
public double y()
public double z()
public double r()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||