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

    Tool class for calculating surface area of the box. For N=1, computes length (degenerate case). For N=2, computes area (or perimeter for degenerate boxes). For N>=3, computes 3D surface area using X, Y, Z components only. The W component (4th dimension) is intentionally ignored as BVH surface area heuristic (SAH) operates in 3D geometric space regardless of additional dimensions. More...

    #include <BVH_Box.hxx>

    Static Public Member Functions

    static T Area (const typename BVH_Box< T, N >::BVH_VecNt &theSize)

    Detailed Description

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

    Tool class for calculating surface area of the box. For N=1, computes length (degenerate case). For N=2, computes area (or perimeter for degenerate boxes). For N>=3, computes 3D surface area using X, Y, Z components only. The W component (4th dimension) is intentionally ignored as BVH surface area heuristic (SAH) operates in 3D geometric space regardless of additional dimensions.

    Template Parameters
    TNumeric data type
    NVector dimension

    Member Function Documentation

    ◆ Area()

    template<class T, int N>
    T BVH::SurfaceCalculator< T, N >::Area ( const typename BVH_Box< T, N >::BVH_VecNt & theSize)
    inlinestatic

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