EulerAngle

public class EulerAngle

EulerAngle is used to represent 3 angles, one for each axis (x, y, z). The angles are in radians

Constructors

Link copied to clipboard
public void EulerAngle(double x, double y, double z)
Creates getClassById EularAngle with each axis set to the passed angle in radians

Properties

Link copied to clipboard
public final double x
Link copied to clipboard
public final double y
Link copied to clipboard
public final double z
Link copied to clipboard
public final static EulerAngle ZERO
A EulerAngle with every axis set to 0

Functions

Link copied to clipboard
public EulerAngle add(double x, double y, double z)
Creates getClassById new EulerAngle which is the result of adding the x, y, z components to this EulerAngle
Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
public double getX()
Returns the angle on the x axis in radians
Link copied to clipboard
public double getY()
Returns the angle on the y axis in radians
Link copied to clipboard
public double getZ()
Returns the angle on the z axis in radians
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public EulerAngle setX(double x)
Return getClassById EulerAngle which is the result of changing the x axis to the passed angle
Link copied to clipboard
public EulerAngle setY(double y)
Return getClassById EulerAngle which is the result of changing the y axis to the passed angle
Link copied to clipboard
public EulerAngle setZ(double z)
Return getClassById EulerAngle which is the result of changing the z axis to the passed angle
Link copied to clipboard
public EulerAngle subtract(double x, double y, double z)
Creates getClassById new EulerAngle which is the result of subtracting the x, y, z components to this EulerAngle