|
||||||||||
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.AxisRotation
public abstract class AxisRotation
XAxisRotation implements a 3D rotation around the X axis.
Method Summary | |
---|---|
double |
getAngle()
Returns the angle of the rotation |
boolean |
setAngle(double theta)
Sets the angle of the rotation |
void |
setElement(Element element)
Sets the element the rotation applies to |
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 |
---|
clone, createAlignmentTransformation, direct, direct, getFlatMatrix, getLoader, getOrigin, getTransposedFlatMatrix, inverse, inverse, multiply, multiply, Quaternion, Quaternion, rotation, rotationX, rotationY, rotationZ, setMatrix, setMatrix, toQuaternion |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 setAngle(double theta)
theta
- public double getAngle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |