#include "GeomExport.h"
#include "maxheap.h"
#include "ioapi.h"
#include "point3.h"
#include "point4.h"
Go to the source code of this
file.
Define Documentation
#define
MAT_IDENT (POS_IDENT|ROT_IDENT|SCL_IDENT) |
Typedef Documentation
Function Documentation
GEOMEXPORT Matrix3 RotateXMatrix |
( |
float |
angle |
) |
|
- Parameters:
- float angle
Specifies the angle of rotation in radians.
- Returns:
- A new X rotation Matrix3.
GEOMEXPORT Matrix3 RotateYMatrix |
( |
float |
angle |
) |
|
- Parameters:
- float angle
Specifies the angle of rotation in radians.
- Returns:
- A new Y rotation Matrix3.
GEOMEXPORT Matrix3 RotateZMatrix |
( |
float |
angle |
) |
|
- Parameters:
- float angle
Specifies the angle of rotation in radians.
- Returns:
- A new Z rotation Matrix3.
- Parameters:
- const Point3&
p
Specifies the translation values.
- Returns:
- A new translation Matrix3.
- Parameters:
- const Point3&
p
Specifies the scale values.
- Returns:
- A new scale Matrix3.
GEOMEXPORT Matrix3 RotateYPRMatrix |
( |
float |
Yaw, |
|
|
float |
Pitch, |
|
|
float |
Roll |
|
) |
|
|
- Parameters:
- float Yaw
Specifies the yaw angle in radians.
float Pitch
Specifies the pitch angle in radians.
float Roll
Specifies the roll angle in radians.
- Returns:
- A new rotation Matrix3.
GEOMEXPORT Matrix3 RotAngleAxisMatrix |
( |
Point3 & |
axis, |
|
|
float |
angle |
|
) |
|
|
- Parameters:
- Point3&
axis
Specifies the axis of rotation. Note that this angle is expected to
be normalized.
float angle
Specifies the angle of rotation. Note: The direction of the angle
in this method is opposite of that in AngAxisFromQ().
- Returns:
- A new rotation Matrix3.
- Parameters:
- const Matrix3& M
The matrix to compute the inverse of.
- Parameters:
- const Matrix3& A
The matrix to transform the point with. const Point3& V
The point to transform.
- Returns:
- The transformed Point3.
- Parameters:
- const Point3&
V
The point to transform.
const Matrix3&
A
The matrix to transform the point with.
- Returns:
- The transformed Point3.
- Parameters:
- const Matrix3& A
The matrix to transform the vector with.
const Point3&
V
The vector to transform.
- Returns:
- The transformed vector (as a Point3).
- Parameters:
- const Matrix3& xm
Specifies the coordinate system you want to work in.
const Matrix3&
m
Specifies the transformation matrix.
- Returns:
- Returns a Matrix3 that is
xm*m*Inverse(xm).