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::CenterAxis< T, N > Struct Template Reference

    Tool class for calculating box center along the given axis. More...

    #include <BVH_Box.hxx>

    Static Public Member Functions

    static T Center (const BVH_Box< T, N > &theBox, const int theAxis)
     Returns the center of the box along the specified axis using array access.

    Detailed Description

    template<class T, int N>
    struct BVH::CenterAxis< T, N >

    Tool class for calculating box center along the given axis.

    Template Parameters
    TNumeric data type
    NVector dimension

    Member Function Documentation

    ◆ Center()

    template<class T, int N>
    T BVH::CenterAxis< T, N >::Center ( const BVH_Box< T, N > & theBox,
    const int theAxis )
    inlinestatic

    Returns the center of the box along the specified axis using array access.


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