|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.coordinate.AxisAngle
An object that represents a normalized axis-angle representation of a rotation utilizing double precision floating point values.
Axis,
Vector| Constructor Summary | |
AxisAngle()
Construct an instance initialized to (0, 0, 1, 0) |
|
AxisAngle(AxisAngle value)
Construct an instance initialized to duplicate the argument |
|
AxisAngle(Axis axis,
double angle)
Construct an instance initialized to the given rotation about the specified axis |
|
AxisAngle(double[] value)
Construct an instance initialized to the given value and normalized |
|
AxisAngle(double x,
double y,
double z,
double angle)
Construct an instance initialized to the given value and normalized |
|
AxisAngle(float[] value)
Construct an instance initialized to the given value and normalized |
|
AxisAngle(Vector axis,
double angle)
Construct an instance initialized to the given values and normalize |
|
| Method Summary | |
void |
clear()
Set the axis angle values to (0, 0, 1, 0) |
java.lang.Object |
clone()
Return the clone of the axis angle |
boolean |
equals(java.lang.Object obj)
Check the axis angle for equality with the passed object. |
void |
get(AxisAngle value)
Return the value of the axis angle in the argument AxisAngle object |
void |
get(double[] value)
Return the value of the axis angle in the argument array in x, y, z, angle order |
void |
get(float[] value)
Return the value of the axis angle in the argument array in x, y, z, angle order |
double |
get(Vector axis)
Return the value of the axis angle |
int |
hashCode()
Calculate the hash code |
void |
set(AxisAngle value)
Set the value of the axis angle to duplicate the argument |
void |
set(Axis axis,
double angle)
Set the value of the axis angle to the rotation about the specified axis |
void |
set(double[] value)
Set the value of the axis angle and normalize |
void |
set(double x,
double y,
double z,
double angle)
Set the value of the axis angle and normalize |
void |
set(float[] value)
Set the value of the axis angle and normalize |
void |
set(Vector axis,
double angle)
Set the value of the axis angle and normalize |
java.lang.String |
toString()
Return a string representing the axis angle of the form (x, y, z, angle) |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AxisAngle()
public AxisAngle(double x,
double y,
double z,
double angle)
x - the x valuey - the y valuez - the z valueangle - the angle valuepublic AxisAngle(double[] value)
value - the double array of values in x, y, z, angle orderpublic AxisAngle(float[] value)
value - the float array of values in x, y, z, angle order
public AxisAngle(Vector axis,
double angle)
axis - the Vector axis of rotationangle - the rotation in radians about the axis
public AxisAngle(Axis axis,
double angle)
axis - the Axis axis of rotationangle - the rotation in radians about the axispublic AxisAngle(AxisAngle value)
value - the AxisAngle object to duplicate| Method Detail |
public void clear()
public void set(double x,
double y,
double z,
double angle)
x - the x valuey - the y valuez - the z valueangle - the angle valuepublic void set(double[] value)
value - the double array of values in x, y, z, angle orderpublic void set(float[] value)
value - the float array of values in x, y, z, angle order
public void set(Vector axis,
double angle)
axis - the Vector axis of rotationangle - the rotation in radians about the axis
public void set(Axis axis,
double angle)
axis - the Axis axis of rotationangle - the rotation in radians about the axispublic void set(AxisAngle value)
value - the AxisAngle object to duplicatepublic void get(double[] value)
value - the double array to initializepublic void get(float[] value)
value - the float array to initializepublic double get(Vector axis)
axis - the Vector object to initialize with the
axis of rotation
public void get(AxisAngle value)
AxisAngle object
value - the AxisAngle object to initializepublic java.lang.Object clone()
AxisAngle objectpublic int hashCode()
public boolean equals(java.lang.Object obj)
true if the values of the axis angle are identical,
false otherwisepublic java.lang.String toString()
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||