Class SpaceFilter#
Defined in Program listing for file mechanics/src/collision/native/SpaceFilter.hpp
-
class SpaceFilter : public InteractionManager, public std::enable_shared_from_this<SpaceFilter>#
Subclassed by OccSpaceFilter
Public Functions
-
inline unsigned int bboxfactor()#
get parameters
-
bool haveNeighbours(SP::Hashed h)#
get the neighbours
Just test the presence of neighbours.
- Parameters:
h – hashed component of a body.
-
double minDistance(SP::Hashed h)#
Give the minimal distance.
- Parameters:
h – hashed component of a body.
-
void updateInteractions(SP::Simulation simulation) override#
Broadphase contact detection: add interactions in indexSet 0.
- Parameters:
simulation – the current simulation setup
-
inline virtual ~SpaceFilter()#
Destructor.
-
inline unsigned int bboxfactor()#