| Modifier and Type | Field and Description |
|---|---|
| public double | angle
The angle of rotation in radians. |
| pack-priv static final double | |
| pack-priv static final long | |
| public double | x
The x coordinate. |
| public double | y
The y coordinate. |
| public double | z
The z coordinate. |
| Access | Constructor and Description |
|---|---|
| public | AxisAngle4d(double
the x coordinate x, double the y coordinate y, double the z coordinate z, double the angle of rotation in radians angle)Constructs and initializes an AxisAngle4d from the specified x, y, z, and angle. |
| public | AxisAngle4d(double[]
the array of length 4 containing x,y,z,angle in order a)Constructs and initializes an AxisAngle4d from the components contained in the array. |
| public | AxisAngle4d(AxisAngle4d
the AxisAngle4d containing the initialization x y z angle data a1)Constructs and initializes an AxisAngle4d from the specified AxisAngle4d. |
| public | AxisAngle4d(AxisAngle4f
the AxisAngle4f containing the initialization x y z angle data a1)Constructs and initializes an AxisAngle4d from the specified AxisAngle4f. |
| public | AxisAngle4d(Vector3d
the axis axis, double the angle of rotation in radian angle)Constructs and initializes an AxisAngle4d from the specified axis and angle. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: a clone of this instance.Overrides java. |
| public boolean | epsilonEquals(AxisAngle4d
the axis-angle to be compared to this axis-angle a1, double the threshold value epsilon)Returns true if the L-infinite distance between this axis-angle and axis-angle a1 is less than or equal to the epsilon parameter, otherwise returns false. |
| public boolean | Returns: true or falsethe axis-angle with which the comparison is made a1)Returns true if all of the data members of AxisAngle4d a1 are equal to the corresponding data members in this AxisAngle4d. |
| public boolean | Returns: true or falsethe object with which the comparison is made o1)Overrides java. |
| public final void | get(double[]
the array of length four a)Gets the value of this axis angle and places it into the array a of length four in x,y,z,angle order. |
| public final double | |
| public double | |
| public final double | |
| public double | |
| public int | Returns: the integer hash code valueOverrides java. |
| public final void | set(double
the x coordinate x, double the y coordinate y, double the z coordinate z, double the angle of rotation in radians angle)Sets the value of this axis angle to the specified x,y,z,angle. |
| public final void | set(double[]
the array of length 4 containing x,y,z,angle in order a)Sets the value of this axis angle to the specified x,y,z,angle. |
| public final void | set(AxisAngle4d
the axis angle to be copied a1)Sets the value of this axis angle to the value of axis angle a1. |
| public final void | set(AxisAngle4f
the axis angle to be copied a1)Sets the value of this axis angle to the value of axis angle a1. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public String | Returns: the String representationOverrides java. |
| angle | back to summary |
|---|---|
| public double angle The angle of rotation in radians. | |
| EPS | back to summary |
|---|---|
| pack-priv static final double EPS | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| x | back to summary |
|---|---|
| public double x The x coordinate. | |
| y | back to summary |
|---|---|
| public double y The y coordinate. | |
| z | back to summary |
|---|---|
| public double z The z coordinate. | |
| AxisAngle4d | back to summary |
|---|---|
| public AxisAngle4d(double x, double y, double z, double angle) Constructs and initializes an AxisAngle4d from the specified x, y, z, and angle.
| |
| AxisAngle4d | back to summary |
|---|---|
| public AxisAngle4d(double[] a) Constructs and initializes an AxisAngle4d from the components contained in the array.
| |
| AxisAngle4d | back to summary |
|---|---|
| public AxisAngle4d(AxisAngle4d a1) Constructs and initializes an AxisAngle4d from the specified AxisAngle4d.
| |
| AxisAngle4d | back to summary |
|---|---|
| public AxisAngle4d(AxisAngle4f a1) Constructs and initializes an AxisAngle4d from the specified AxisAngle4f.
| |
| AxisAngle4d | back to summary |
|---|---|
| public AxisAngle4d(Vector3d axis, double angle) Constructs and initializes an AxisAngle4d from the specified axis and angle.
| |
| AxisAngle4d | back to summary |
|---|---|
| public AxisAngle4d() Constructs and initializes an AxisAngle4d to (0,0,1,0). | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Creates a new object of the same class as this object.
| |
| epsilonEquals | back to summary |
|---|---|
| public boolean epsilonEquals(AxisAngle4d a1, double epsilon) Returns true if the L-infinite distance between this axis-angle and axis-angle a1 is less than or equal to the epsilon parameter, otherwise returns false. The L-infinite distance is equal to MAX[abs(x1-x2), abs(y1-y2), abs(z1-z2), abs(angle1-angle2)].
| |
| equals | back to summary |
|---|---|
| public boolean equals(AxisAngle4d a1) Returns true if all of the data members of AxisAngle4d a1 are equal to the corresponding data members in this AxisAngle4d.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o1) Overrides java. Returns true if the Object o1 is of type AxisAngle4d and all of the data members of o1 are equal to the corresponding data members in this AxisAngle4d.
| |
| get | back to summary |
|---|---|
| public final void get(double[] a) Gets the value of this axis angle and places it into the array a of length four in x,y,z,angle order.
| |
| getAngle | back to summary |
|---|---|
| public final double getAngle() Get the axis angle, in radians.
| |
| getX | back to summary |
|---|---|
| public double getX() Get value of x coordinate.
| |
| getY | back to summary |
|---|---|
| public final double getY() Get value of y coordinate.
| |
| getZ | back to summary |
|---|---|
| public double getZ() Get value of z coordinate.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code value based on the data values in this object. Two different AxisAngle4d objects with identical data values (i.e., AxisAngle4d.equals returns true) will return the same hash code value. Two objects with different data members may return the same hash value, although this is not likely.
| |
| set | back to summary |
|---|---|
| public final void set(double x, double y, double z, double angle) Sets the value of this axis angle to the specified x,y,z,angle.
| |
| set | back to summary |
|---|---|
| public final void set(double[] a) Sets the value of this axis angle to the specified x,y,z,angle.
| |
| set | back to summary |
|---|---|
| public final void set(AxisAngle4d a1) Sets the value of this axis angle to the value of axis angle a1.
| |
| set | back to summary |
|---|---|
| public final void set(AxisAngle4f a1) Sets the value of this axis angle to the value of axis angle a1.
| |
| set | back to summary |
|---|---|
| public final void set(Vector3d axis, double angle) Sets the value of this AxisAngle4d to the specified axis and angle.
| |
| set | back to summary |
|---|---|
| public final void set(Matrix4f m1) Sets the value of this axis-angle to the rotational component of the passed matrix. If the specified matrix has no rotational component, the value of this AxisAngle4d is set to an angle of 0 about an axis of (0,1,0).
| |
| set | back to summary |
|---|---|
| public final void set(Matrix4d m1) Sets the value of this axis-angle to the rotational component of the passed matrix. If the specified matrix has no rotational component, the value of this AxisAngle4d is set to an angle of 0 about an axis of (0,1,0).
| |
| set | back to summary |
|---|---|
| public final void set(Matrix3f m1) Sets the value of this axis-angle to the rotational component of the passed matrix. If the specified matrix has no rotational component, the value of this AxisAngle4d is set to an angle of 0 about an axis of (0,1,0).
| |
| set | back to summary |
|---|---|
| public final void set(Matrix3d m1) Sets the value of this axis-angle to the rotational component of the passed matrix. If the specified matrix has no rotational component, the value of this AxisAngle4d is set to an angle of 0 about an axis of (0,1,0).
| |
| set | back to summary |
|---|---|
| public final void set(Quat4f q1) Sets the value of this axis-angle to the rotational equivalent of the passed quaternion. If the specified quaternion has no rotational component, the value of this AxisAngle4d is set to an angle of 0 about an axis of (0,1,0).
| |
| set | back to summary |
|---|---|
| public final void set(Quat4d q1) Sets the value of this axis-angle to the rotational equivalent of the passed quaternion. If the specified quaternion has no rotational component, the value of this AxisAngle4d is set to an angle of 0 about an axis of (0,1,0).
| |
| setAngle | back to summary |
|---|---|
| public final void setAngle(double angle) Set the axis angle, in radians.
| |
| setX | back to summary |
|---|---|
| public final void setX(double x) Set a new value for x coordinate.
| |
| setY | back to summary |
|---|---|
| public final void setY(double y) Set a new value for y coordinate.
| |
| setZ | back to summary |
|---|---|
| public final void setZ(double z) Set a new value for z coordinate.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string that contains the values of this AxisAngle4d. The form is (x,y,z,angle).
| |