HLIBpro
2.2
|
Base class for partitioning strategies for geometrical BSP clustering.
#include <TBSPPartStrat.hh>
Public Member Functions | |
virtual void | set_coord (const TCoordinate *coord)=0 |
set coordinate set for indices | |
virtual void | partition (const TNodeSet &dofs, TNodeSet &left, TNodeSet &right, const TBBox &bbox, std::vector< TBBox > &son_bbox, const uint depth) const =0 |
|
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.