public final class AngleAxis extends ComObject<IAngleAxis>
Vector3D
class provides a representation for orientation in
3D space using an angle and an axis. The rotation is specified by a
normalized vector and an angle around the vector. The rotation follows the
principle of the right-hand rule.Modifier | Constructor and Description |
---|---|
protected |
AngleAxis(IAngleAxis base)
Constructs a new
AngleAxis object by using the COM object's
proxy class specified. |
Modifier and Type | Method and Description |
---|---|
double |
getAngle()
Returns the angle component of the rotation.
|
double |
getX()
Returns the X component of the rotation vector.
|
double |
getY()
Returns the Y component of the rotation vector.
|
double |
getZ()
Returns the Z component of the rotation vector.
|
void |
setAngle(double angle)
Sets the angle component of the rotation.
|
void |
setX(double x)
Sets the X component of the rotation vector.
|
void |
setY(double y)
Sets the Y component of the rotation vector.
|
void |
setZ(double z)
Sets the Z component of the rotation vector.
|
clone, dispose, equals, hashCode, isDisposed, isInstanceOf, referenceEquals, toString
protected AngleAxis(IAngleAxis base)
AngleAxis
object by using the COM object's
proxy class specified.base
- the native COM object's proxy classpublic double getX()
public void setX(double x)
x
- the X component of the rotation vectorpublic double getY()
public void setY(double y)
y
- the Y component of the rotation vectorpublic double getZ()
public void setZ(double z)
z
- the Z component of the rotation vectorpublic double getAngle()
public void setAngle(double angle)
angle
- the angle component of the rotationCopyright © 2009 - 2016 DataGis. All Rights Reserved.