public class EulerAngle
extends java.lang.Object
原文:EulerAngle is used to represent 3 angles, one for each axis (x, y, z). The angles are in radians
限定符和类型 | 字段和说明 |
---|---|
static EulerAngle |
ZERO
一个所有偏转角都为0的欧拉角.
|
构造器和说明 |
---|
EulerAngle(double x,
double y,
double z)
创建一个EularAngle,每一个坐标轴都设置成给定弧度角.
|
限定符和类型 | 方法和说明 |
---|---|
EulerAngle |
add(double x,
double y,
double z)
创建一个新的EulerAngle,这个新的欧拉角将原欧拉角的三个轴的弧度均添加某个偏移量.
|
boolean |
equals(java.lang.Object o) |
double |
getX()
返回x轴的弧度角.
|
double |
getY()
返回y轴的弧度角.
|
double |
getZ()
返回z轴的弧度角.
|
int |
hashCode() |
EulerAngle |
setX(double x)
返回x轴设为了给定弧度角的新EulerAngle对象.
|
EulerAngle |
setY(double y)
返回y轴设为了给定弧度角的新EulerAngle对象.
|
EulerAngle |
setZ(double z)
返回z轴设为了给定弧度角的新EulerAngle对象.
|
EulerAngle |
subtract(double x,
double y,
double z)
创建一个新的EulerAngle,这个新的欧拉角将给定的三个轴的弧度均减去某个偏移量.
|
public static final EulerAngle ZERO
A EulerAngle with every axis set to 0
public EulerAngle(double x, double y, double z)
原文:Creates a EularAngle with each axis set to the passed angle in radians
x
- x轴的弧度角y
- y轴的弧度角z
- z轴的弧度角public double getX()
原文:Returns the angle on the x axis in radians
public double getY()
原文:Returns the angle on the y axis in radians
public double getZ()
原文:Returns the angle on the z axis in radians
public EulerAngle setX(double x)
原文:Return a EulerAngle which is the result of changing the x axis to the passed angle
x
- x轴弧度角public EulerAngle setY(double y)
原文:Return a EulerAngle which is the result of changing the y axis to the passed angle
y
- y轴弧度角public EulerAngle setZ(double z)
原文:Return a EulerAngle which is the result of changing the z axis to the passed angle
z
- z轴弧度角public 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
x
- x轴的弧度偏移量y
- y轴的弧度偏移量z
- z轴的弧度偏移量public 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
x
- x轴的弧度偏移量y
- y轴的弧度偏移量z
- z轴的弧度偏移量public boolean equals(java.lang.Object o)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object