HLIBpro  2.1
Public Member Functions | List of all members
TAutoBSPPartStrat Class Reference

Automatic choice of best partitioning strategy.

#include <TBSPPartStrat.hh>

Inheritance diagram for TAutoBSPPartStrat:
TBSPPartStrat

Public Member Functions

 TAutoBSPPartStrat (const split_axis_mode_t split_axis_mode=regular_split_axis)
 
 TAutoBSPPartStrat (const TCoordinate *coord, const split_axis_mode_t split_axis_mode=regular_split_axis)
 
virtual void set_coord (const TCoordinate *coord)
 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
 

Constructor & Destructor Documentation

TAutoBSPPartStrat ( const split_axis_mode_t  split_axis_mode = regular_split_axis)

ctor with undefined coordinate set (needs to be set by TBSPCTBuilder)

TAutoBSPPartStrat ( const TCoordinate coord,
const split_axis_mode_t  split_axis_mode = regular_split_axis 
)

ctor with predefined coordinate set

Member Function Documentation

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

partition dofs into sub sets

Implements TBSPPartStrat.