javax.vecmath
public class AxisAngle4f extends Object implements Serializable
Field Summary | |
---|---|
float | angle
The angle. |
float | x
The x coordinate. |
float | y
The y coordinate. |
float | z
The z coordinate. |
Constructor Summary | |
---|---|
AxisAngle4f(float x, float y, float z, float angle)
Constructs and initializes an AxisAngle4f from the specified x, y, z,
and angle. | |
AxisAngle4f(float[] a)
Constructs and initializes an AxisAngle4f from the components contained
in the array. | |
AxisAngle4f(AxisAngle4f a1)
Constructs and initializes a AxisAngle4f from the specified AxisAngle4f. | |
AxisAngle4f(AxisAngle4d a1)
Constructs and initializes a AxisAngle4f from the specified AxisAngle4f. | |
AxisAngle4f()
Constructs and initializes a AxisAngle4f to (0,0,1,0). | |
AxisAngle4f(Vector3f axis, float angle)
Constructs and initializes an AxisAngle4f from the specified axis
and angle.
|
Method Summary | |
---|---|
boolean | epsilonEquals(AxisAngle4f a1, float epsilon)
Returns true if the L-infinite distance between this axis-angle and axis-angle t1 is
less than or equal to the epsilon parameter, otherwise returns false. |
boolean | equals(AxisAngle4f a1)
Returns true if all of the data members of AxisAngle4f t1 are equal to the corresponding
data members in this |
boolean | equals(Object o1)
Returns true if the Object o1 is of type AxisAngle4f and all of the data
members of o1 are equal to the corresponding data members in this
AxisAngle4f. |
void | get(float[] a)
Gets the value of this axis angle into the array a of
length four in x,y,z,angle order. |
int | hashCode()
Returns a hash number based on the data values in this object.
|
void | set(Vector3f axis, float angle)
Sets the value of this AxisAngle4f to the specified axis and
angle. |
void | set(float x, float y, float z, float angle)
Sets the value of this axis angle to the specified x,y,z,angle. |
void | set(float[] a)
Sets the value of this axis angle from the 4 values specified in the array. |
void | set(AxisAngle4f a1)
Sets the value of this axis angle to the value of axis angle t1. |
void | set(AxisAngle4d a1)
Sets the value of this axis angle to the value of axis angle t1. |
void | set(Matrix4f m1)
Sets the value of this axis-angle to the rotational component of the
passed matrix. |
void | set(Matrix4d m1)
Sets the value of this axis-angle to the rotational component of the
passed matrix. |
void | set(Matrix3f m1)
Sets the value of this axis-angle to the rotational component of the
passed matrix. |
void | set(Matrix3d m1)
Sets the value of this axis-angle to the rotational component of the
passed matrix. |
void | set(Quat4f q1)
Sets the value of this axis-angle to the rotational equivalent of the
passed quaternion. |
void | set(Quat4d q1)
Sets the value of this axis-angle to the rotational equivalent of the
passed quaternion. |
String | toString()
Returns a string that contains the values of this AxisAngle4f. |
Parameters: x the x coordinate y the y coordinate z the z coordinate angle the angle.
Parameters: a the array of length 4 containing x,y,z,angle in order
Parameters: a1 the AxisAngle4f containing the initialization x y z angle data
Parameters: a1 the AxisAngle4d containing the initialization x y z angle data
Parameters: axis the axis angle the angle
Since: Java 3D 1.2
Parameters: a1 the axis-angle to be compared to this axis-angle epsilon the threshold value
Parameters: a1 the vector with which the comparison is made.
Parameters: o1 the object with which the comparison is made.
Parameters: a the array of length four
Parameters: axis the axis angle the angle
Since: Java 3D 1.2
Parameters: x the x coordinate y the y coordinate z the z coordinate angle the angle
Parameters: a the array of length 4 containing x,y,z,angle in order
Parameters: t1 the axis angle to be copied
Parameters: t1 the axis angle to be copied
Parameters: m1 the matrix4f
Parameters: m1 the matrix4d
Parameters: m1 the matrix3f
Parameters: m1 the matrix3d
Parameters: q1 the Quat4f
Parameters: q1 the Quat4d
Returns: the String representation