OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BVH_Set< T, N > Class Template Referenceabstract

    Set of abstract entities (bounded by BVH boxes). This is the minimal geometry interface needed to construct BVH. More...

    #include <BVH_Set.hxx>

    Inheritance diagram for BVH_Set< T, N >:

    Public Types

    typedef BVH_Box< T, N > BVH_BoxNt

    Public Member Functions

     BVH_Set ()=default
     Creates new abstract set of objects.
    virtual ~BVH_Set ()=default
     Releases resources of set of objects.
    virtual BVH_Box< T, N > Box () const
     Returns AABB of the entire set of objects.
    virtual int Size () const =0
     Returns total number of objects.
    virtual BVH_Box< T, N > Box (const int theIndex) const =0
     Returns AABB of the given object.
    virtual T Center (const int theIndex, const int theAxis) const =0
     Returns centroid position along the given axis.
    virtual void Swap (const int theIndex1, const int theIndex2)=0
     Performs transposing the two given objects in the set.

    Detailed Description

    template<class T, int N>
    class BVH_Set< T, N >

    Set of abstract entities (bounded by BVH boxes). This is the minimal geometry interface needed to construct BVH.

    Template Parameters
    TNumeric data type
    NVector dimension

    Member Typedef Documentation

    ◆ BVH_BoxNt

    template<class T, int N>
    typedef BVH_Box<T, N> BVH_Set< T, N >::BVH_BoxNt

    Constructor & Destructor Documentation

    ◆ BVH_Set()

    template<class T, int N>
    BVH_Set< T, N >::BVH_Set ( )
    default

    Creates new abstract set of objects.

    ◆ ~BVH_Set()

    template<class T, int N>
    virtual BVH_Set< T, N >::~BVH_Set ( )
    virtualdefault

    Releases resources of set of objects.

    Member Function Documentation

    ◆ Box() [1/2]

    ◆ Box() [2/2]

    template<class T, int N>
    virtual BVH_Box< T, N > BVH_Set< T, N >::Box ( const int theIndex) const
    pure virtual

    Returns AABB of the given object.

    Implemented in BVH_ObjectSet< T, N >, BVH_Triangulation< T, N >, and BVH_Triangulation< float, 3 >.

    ◆ Center()

    ◆ Size()

    ◆ Swap()


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