|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.numerics.Matrix3DTransformation org.opensourcephysics.drawing3d.utils.transformations.Matrix3DTransformation
public class Matrix3DTransformation
XAxisRotation implements a 3D rotation around the X axis.
Constructor Summary | |
---|---|
Matrix3DTransformation()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Provides a copy of this transformation. |
void |
setElement(Element element)
Sets the element the rotation applies to |
boolean |
setMatrix(double[] newMatrix)
Sets the matrix array of the rotation |
boolean |
setMatrix(double[][] newMatrix)
Sets the double[][] matrix array of the rotation |
double[] |
setOrigin(double[] origin)
Sets the origin for this rotation. |
void |
setOrigin(double ox,
double oy,
double oz)
Sets the origin for this rotation. |
Methods inherited from class org.opensourcephysics.numerics.Matrix3DTransformation |
---|
createAlignmentTransformation, direct, direct, getFlatMatrix, getLoader, getOrigin, getTransposedFlatMatrix, inverse, inverse, multiply, multiply, Quaternion, Quaternion, rotation, rotationX, rotationY, rotationZ, toQuaternion |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Matrix3DTransformation()
Method Detail |
---|
public void setElement(Element element)
element
- public double[] setOrigin(double[] origin)
Matrix3DTransformation
setOrigin
in class Matrix3DTransformation
origin
- double[] the new origin
public void setOrigin(double ox, double oy, double oz)
Matrix3DTransformation
setOrigin
in class Matrix3DTransformation
ox
- doubleoy
- doubleoz
- doublepublic boolean setMatrix(double[][] newMatrix)
Matrix3DTransformation
setMatrix
in class Matrix3DTransformation
public boolean setMatrix(double[] newMatrix)
Matrix3DTransformation
setMatrix
in class Matrix3DTransformation
public java.lang.Object clone()
Matrix3DTransformation
clone
in interface Transformation
clone
in class Matrix3DTransformation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |