|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.awt.Matrix3D
final class Matrix3D
Field Summary | |
---|---|
(package private) float |
xo
|
(package private) float |
xx
|
(package private) float |
xy
|
(package private) float |
xz
|
(package private) float |
yo
|
(package private) float |
yx
|
(package private) float |
yy
|
(package private) float |
yz
|
(package private) float |
zo
|
(package private) float |
zx
|
(package private) float |
zy
|
(package private) float |
zz
|
Constructor Summary | |
---|---|
Matrix3D()
Create a new identity matrix |
Method Summary | |
---|---|
(package private) void |
identity()
Reinitialize to the identity matrix |
(package private) void |
multiply(Matrix3D rhs)
Multiply this matrix by a second: M = M*R |
(package private) void |
scale(float f)
Scale by f in all dimensions |
(package private) void |
scale(float xf,
float yf,
float zf)
Scale along each axis independently |
java.lang.String |
toString()
|
(package private) void |
transform(float[] v,
int[] tv,
int nvert)
Transform nvert points from v into tv. |
(package private) void |
translate(float x,
float y,
float z)
Translate the origin |
(package private) void |
xRotate(double theta)
rotate theta degrees about the x axis |
(package private) void |
yRotate(double theta)
rotate theta degrees about the y axis |
(package private) void |
zRotate(double theta)
rotate theta degrees about the z axis |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
float xx
float xy
float xz
float xo
float yx
float yy
float yz
float yo
float zx
float zy
float zz
float zo
Constructor Detail |
---|
Matrix3D()
Method Detail |
---|
void scale(float f)
void scale(float xf, float yf, float zf)
void translate(float x, float y, float z)
void yRotate(double theta)
void xRotate(double theta)
void zRotate(double theta)
void multiply(Matrix3D rhs)
void identity()
void transform(float[] v, int[] tv, int nvert)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |