Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Static Public Member Functions
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

staticArea (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>
static 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: