HLIBpro  3.0
TBSPPartStrat Class Referenceabstract

Base class for partitioning strategies for geometrical BSP clustering.

#include <TBSPPartStrat.hh>

Inheritance diagram for TBSPPartStrat:
TAutoBSPPartStrat TCardBSPPartStrat TGeomBSPPartStrat TNDBSPPartStrat< value_t > 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

◆ partition()

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< value_t >, TPCABSPPartStrat, TCardBSPPartStrat, and TGeomBSPPartStrat.