|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.AxisAndAngle
public class AxisAndAngle
Class AxisAndAngle provides containers for rotation axis and angle combinations.
Version 1.0.0 08-DEC-2009 (NJB)
Constructor Summary | |
---|---|
AxisAndAngle(AxisAndAngle a)
Copy constructor. |
|
AxisAndAngle(Matrix33 r)
Create a rotation axis and angle from a rotation matrix. |
|
AxisAndAngle(Vector3 v,
double angle)
Create a rotation axis and angle from a vector and scalar. |
Method Summary | |
---|---|
double |
getAngle()
Get the rotation angle from this instance. |
Vector3 |
getAxis()
Get the rotation axis from this instance. |
Matrix33 |
toMatrix()
Create a rotation matrix from this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AxisAndAngle(AxisAndAngle a)
public AxisAndAngle(Vector3 v, double angle) throws SpiceException
The axis must be non-zero.
SpiceException
public AxisAndAngle(Matrix33 r) throws SpiceException
SpiceException
Method Detail |
---|
public Vector3 getAxis()
public double getAngle()
public Matrix33 toMatrix() throws SpiceException
SpiceException
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |