|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJsMat3D
Constructor Summary | |
JsMat3D(double[] Data)
Constructor |
|
JsMat3D(double angle,
double[] axis)
Calculate the 3x3 rotation matrix generated by a rotation of a specified angle about a specified axis. |
|
JsMat3D(double x11,
double x12,
double x13,
double x21,
double x22,
double x23,
double x31,
double x32,
double x33)
Constructor |
|
JsMat3D(double angle,
int axis)
Calculate the 3x3 rotation matrix generated by a rotation of a specified angle about a specified axis. |
|
JsMat3D(JsEulAngle eulAng)
Constructor |
|
JsMat3D(JsQuat q)
Find the rotation matrix corresponding to a specified unit quaternion |
|
JsMat3D(java.lang.String from,
java.lang.String to,
JsDate date)
Constructor the rotation matrix from one frame to another at a specified epoch ( call PXFORM) |
Method Summary | |
double |
det()
Return the trace of a 3x3 matrix |
double[] |
getData()
Constructor |
JsMat3D |
ident()
This routine returns the 3x3 identity matrix |
JsMat3D |
invert()
Generate the inverse of a 3x3 matrix |
boolean |
isRot(double ntol,
double dtol)
Indicate whether a 3x3 matrix is a rotation matrix |
JsEulAngle |
toEulAngle()
Factor a rotation matrix as a product of three rotations about specified coordinate axes |
JsQuat |
toQuat()
Find a unit quaternion corresponding to a specified rotation matrix. |
double |
trace()
Return the trace of a 3x3 matrix |
JsMat3D |
txm(JsMat3D m2)
Multiply the transpose of a 3x3 matrix and a 3x3 matrix |
JsVect3D |
txv(JsVect3D v)
multiplies the transpose of a 3x3 matrix on the left with a vector on the right |
JsMat3D |
xm(JsMat3D m2)
Multiply a 3x3 matrix and a 3x3 matrix |
JsMat3D |
xmt(JsMat3D m2)
Multiply a 3x3 matrix and the transpose of a 3x3 matrix |
JsMat3D |
xpose()
Transpose a 3x3 matrix |
JsVect3D |
xv(JsVect3D v)
multipliesa 3x3 matrix on the left with a vector on the right |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JsMat3D(double[] Data)
public JsMat3D(double x11, double x12, double x13, double x21, double x22, double x23, double x31, double x32, double x33)
public JsMat3D(JsEulAngle eulAng)
public JsMat3D(double angle, int axis)
public JsMat3D(double angle, double[] axis)
public JsMat3D(JsQuat q)
public JsMat3D(java.lang.String from, java.lang.String to, JsDate date) throws java.lang.Exception
Method Detail |
public double[] getData()
public JsMat3D ident() throws java.lang.Exception
java.lang.Exception
public JsMat3D xpose() throws java.lang.Exception
java.lang.Exception
public JsMat3D txm(JsMat3D m2) throws java.lang.Exception
m2
- is any 3x3 double precision matrix. Typically,
m1 will be a rotation matrix since then its
transpose is its inverse (but this is not a
requirement).
java.lang.Exception
public JsVect3D txv(JsVect3D v) throws java.lang.Exception
v
- is an arbitrary 3-dimensional double precision
vector
java.lang.Exception
public JsVect3D xv(JsVect3D v) throws java.lang.Exception
v
- is an arbitrary 3-dimensional double precision
vector
java.lang.Exception
public JsMat3D xm(JsMat3D m2) throws java.lang.Exception
m2
- is any 3x3 double precision matrix.
java.lang.Exception
public JsMat3D xmt(JsMat3D m2) throws java.lang.Exception
m2
- is any 3x3 double precision matrix.
java.lang.Exception
public double trace() throws java.lang.Exception
java.lang.Exception
public double det() throws java.lang.Exception
java.lang.Exception
public boolean isRot(double ntol, double dtol) throws java.lang.Exception
ntol
- Tolerance for the norms of the columns of m.dtol
- Tolerance for the determinant of a matrix whose
columns are the unitized columns of m.
java.lang.Exception
public JsMat3D invert() throws java.lang.Exception
java.lang.Exception
public JsEulAngle toEulAngle() throws java.lang.Exception
java.lang.Exception
public JsQuat toQuat() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |