HLIBpro  2.3.1
Public Member Functions | List of all members
TBSPPartStrat Class Referenceabstract

Base class for partitioning strategies for geometrical BSP clustering.

#include <TBSPPartStrat.hh>

Inheritance diagram for TBSPPartStrat:
TAutoBSPPartStrat TCardBSPPartStrat TGeomBSPPartStrat TNDBSPPartStrat TPCABSPPartStrat

Public Member Functions

virtual void partition (const TCoordinate *coord, const TNodeSet &dofs, TNodeSet &left, TNodeSet &right, const TBBox &bbox, std::vector< TBBox > &son_bbox, const uint depth) const =0
 

Member Function Documentation

virtual void partition ( const TCoordinate coord,
const TNodeSet dofs,
TNodeSet left,
TNodeSet right,
const TBBox &  bbox,
std::vector< TBBox > &  son_bbox,
const uint  depth 
) const
pure virtual

partition dofs into sub sets and store result in partition. bbox holds bounding box of dofs cluster. Bounding boxes of sons will be stored in son_bbox.

Implemented in TAutoBSPPartStrat, TNDBSPPartStrat, TPCABSPPartStrat, TCardBSPPartStrat, and TGeomBSPPartStrat.