This class provides a bounding box and a matrix.
It will compute a bounding box based on a set of points passed to it after these points have been transformed by the matrix. All methods of this class are implemented by the system.
#include <object.h>
Public Member Functions |
|
BoxLineProc () | |
Constructor. |
|
BoxLineProc (Matrix3 *m) | |
Constructor. |
|
Box3 & | Box () |
Returns the computed box. |
|
CoreExport int | proc (Point3 *p, int n) |
Implemented by the System. |
|
CoreExport void | Marker (Point3 *p, MarkerType type) |
BoxLineProc | ( | ) | [inline] |
BoxLineProc | ( | Matrix3 * | m | ) | [inline] |
Constructor.
The bounding box is set to empty and the matrix is initialized to the matrix passed.
{ tm = m; box.Init(); }
Box3& Box | ( | ) | [inline] |
CoreExport int proc | ( | Point3 * | p, |
int | n | ||
) | [virtual] |
Implemented by the System.
This takes the points passed and expands the bounding box to include the points after they have been transformed by the matrix.
p | The points to include |
n | Number of points. |
Implements PolyLineProc.
CoreExport void Marker | ( | Point3 * | p, |
MarkerType | type | ||
) | [virtual] |
Reimplemented from PolyLineProc.