HLIBpro  1.2
Public Member Functions | List of all members
TBSPPartStrat Class Reference

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 set_coord (const TCoordinate *coord)=0
 set coordinate set for indices
virtual void partition (const TNodeSet &dofs, std::vector< uint > &partition, const TBBox &bbox, std::vector< TBBox > &son_bbox, const uint depth) const =0

Member Function Documentation

virtual void partition ( const TNodeSet dofs,
std::vector< uint > &  partition,
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.