Public Member Functions

BoxLineProc Class Reference

Search for all occurrences

Detailed Description

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.

See also:
Class PolyLineProc

#include <object.h>

Inheritance diagram for BoxLineProc:
Inheritance graph
[legend]

List of all members.

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)

Constructor & Destructor Documentation

BoxLineProc ( ) [inline]

Constructor.

The bounding box is set to empty.

{ box.Init();}
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(); }

Member Function Documentation

Box3& Box ( ) [inline]

Returns the computed box.

{ return box; }
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.

Parameters:
p The points to include
n Number of points.
Returns:
Always returns zero.

Implements PolyLineProc.

CoreExport void Marker ( Point3 p,
MarkerType  type 
) [virtual]

BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc
BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc BoxLineProc