|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.sip.ch17.Rotation3D
public class Rotation3D
Rotation3D implements 3D rotations using a matrix representation.
Constructor Summary | |
---|---|
Rotation3D(double theta,
double[] axis)
Creates a representation of a rotation about the origin by some angle around the given axis. |
Method Summary | |
---|---|
void |
direct(double[] point)
Transforms the given point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Rotation3D(double theta, double[] axis)
theta
- doubleaxis
- double[]Method Detail |
---|
public void direct(double[] point)
point
- the coordinates to be transformed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |