public class EulerAngle extends Object
| Modifier and Type | Field and Description | 
|---|---|
static EulerAngle | 
ZERO
A EulerAngle with every axis set to 0 
 | 
| Constructor and Description | 
|---|
EulerAngle(double x,
          double y,
          double z)
Creates a EularAngle with each axis set to the
 passed angle in radians 
 | 
| Modifier and Type | Method and Description | 
|---|---|
EulerAngle | 
add(double x,
   double y,
   double z)
Creates a new EulerAngle which is the result of adding
 the x, y, z components to this EulerAngle 
 | 
boolean | 
equals(Object o)  | 
double | 
getX()
Returns the angle on the x axis in radians 
 | 
double | 
getY()
Returns the angle on the y axis in radians 
 | 
double | 
getZ()
Returns the angle on the z axis in radians 
 | 
int | 
hashCode()  | 
EulerAngle | 
setX(double x)
Return a EulerAngle which is the result of changing
 the x axis to the passed angle 
 | 
EulerAngle | 
setY(double y)
Return a EulerAngle which is the result of changing
 the y axis to the passed angle 
 | 
EulerAngle | 
setZ(double z)
Return a EulerAngle which is the result of changing
 the z axis to the passed angle 
 | 
EulerAngle | 
subtract(double x,
        double y,
        double z)
Creates a new EulerAngle which is the result of subtracting
 the x, y, z components to this EulerAngle 
 | 
public static final EulerAngle ZERO
public EulerAngle(double x,
                  double y,
                  double z)
x - the angle for the x axis in radiansy - the angle for the x axis in radiansz - the angle for the x axis in radianspublic double getX()
public double getY()
public double getZ()
public EulerAngle setX(double x)
x - the angle in radianspublic EulerAngle setY(double y)
y - the angle in radianspublic EulerAngle setZ(double z)
z - the angle in radianspublic EulerAngle add(double x, double y, double z)
x - the angle to add to the x axis in radiansy - the angle to add to the y axis in radiansz - the angle to add to the z axis in radianspublic EulerAngle subtract(double x, double y, double z)
x - the angle to subtract to the x axis in radiansy - the angle to subtract to the y axis in radiansz - the angle to subtract to the z axis in radiansCopyright © 2022. All rights reserved.