Detailed Description
- See also:
- Class Quat, Class
Point3.
- Description:
- This class provides a representation for orientation in three
space using an angle and axis. This class is similar to a
quaternion, except that a normalized quaternion only represents -PI
to +PI rotation. This class will have the number of revolutions
stored. All methods of this class are implemented by the
system.
The rotation convention in the 3ds Max API is the left-hand-rule.
Note that this is different from the right-hand-rule used in the
3ds Max user interface.
- Data Members:
- Point3
axis;
The axis of rotation.
float angle;
The angle of rotation about the axis in radians. This angle is left
handed.
#include <quat.h>
List of all
members.
Constructor & Destructor Documentation
AngAxis |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
ang |
|
) |
|
[inline] |
- Parameters:
- float x
The x component of the axis.
float y
The y component of the axis.
float z
The z component of the axis.
float ang
The angle component in radians.
- Parameters:
- const Matrix3& m
The rotation used to initialize the AngAxis.
Member Function Documentation
AngAxis& Set |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
ang |
|
) |
|
[inline] |
- Parameters:
- float x
Specifies the x component of the axis.
float y
Specifies the xycomponent of the axis.
float z
Specifies the z component of the axis.
float ang
Specifies the angle to set in radians.
- Returns:
- A reference to this AngAxis.
- Parameters:
- const Point3&
ax
Specifies the axis to set.
float ang
Specifies the angle to set in radians.
- Returns:
- A reference to this AngAxis.
- Parameters:
- const Quat&
q
Specifies the angle and axis to use.
- Returns:
- A reference to this AngAxis.
- Parameters:
- const Matrix3& m
Specifies the angle and axis to use.
- Returns:
- A reference to this AngAxis.
GEOMEXPORT int GetNumRevs |
( |
|
) |
|
GEOMEXPORT void SetNumRevs |
( |
int |
num |
) |
|
Member Data Documentation