|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmath.OrthonormalBasis
public class OrthonormalBasis
an orthonormal basis
Field Summary | |
---|---|
Vector3D |
u
|
Vector3D |
v
|
Vector3D |
w
|
Constructor Summary | |
---|---|
OrthonormalBasis()
constructor |
|
OrthonormalBasis(OrthonormalBasis b)
copy constructor |
|
OrthonormalBasis(Vector3D u,
Vector3D v,
Vector3D w)
constructor with three given vectors |
Method Summary | |
---|---|
void |
createFromU(Vector3D u)
create the onb from form the u vector |
void |
createFromW(Vector3D w)
create the onb from form the w vector |
void |
flipW()
flips the orthonormal basis and keeps the helicity |
Matrix4x4 |
getBasisToCanonicalMatrix()
creates the basis transformation matrix to change from the local basis to the canonical basis |
Matrix4x4 |
getCanonicalToBasisMatrix()
creates the basis transformation matrix to change from the canonical basis to the local basis |
Vector3D |
transform(Vector3D v)
transforms a vector |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Vector3D u
public Vector3D v
public Vector3D w
Constructor Detail |
---|
public OrthonormalBasis()
public OrthonormalBasis(Vector3D u, Vector3D v, Vector3D w)
u
- [in] u vectorv
- [in] v vectorw
- [in] w vectorpublic OrthonormalBasis(OrthonormalBasis b)
b
- [in] the onb to copyMethod Detail |
---|
public void createFromU(Vector3D u)
u
- [in] u vectorpublic void createFromW(Vector3D w)
w
- [in] w vectorpublic Matrix4x4 getBasisToCanonicalMatrix()
public Matrix4x4 getCanonicalToBasisMatrix()
public Vector3D transform(Vector3D v)
v
- [in] vector to transform
public void flipW()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |