RobWorkProject  23.9.11-
Public Member Functions | List of all members
BVTreeFactory::BVShellSplitterStrategy< BV > Struct Template Referenceabstract

Interface for bounding volume splitting strategy for objects with analytical surfaces. More...

#include <BVTreeFactory.hpp>

Inherited by BVTreeFactory::OBVShellMedianSplitter< BV >.

Public Member Functions

virtual size_t partitionShell (rw::geometry::IndexedFaceArray &shell, const BV &bv) const =0
 Split the shell in two. More...
 

Detailed Description

template<class BV>
struct rw::proximity::BVTreeFactory::BVShellSplitterStrategy< BV >

Interface for bounding volume splitting strategy for objects with analytical surfaces.

Member Function Documentation

◆ partitionShell()

virtual size_t partitionShell ( rw::geometry::IndexedFaceArray shell,
const BV &  bv 
) const
pure virtual

Split the shell in two.

Parameters
shell[in/out] the shell to split.
bv[in] the bounding volume of the shell.
Returns
the quality of the split. A good split returns a large value.

Implemented in BVTreeFactory::OBVShellMedianSplitter< BV >.


The documentation for this struct was generated from the following file: