Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BVH_QueueBuilder< T, N >::BVH_PrimitiveRange Struct Reference

Stores range of primitives belonging to a BVH node. More...

#include <BVH_QueueBuilder.hxx>

Public Member Functions

 BVH_PrimitiveRange (int theStart=-1, int theFinal=-1)
 Creates new primitive range.
int Size () const
 Returns total number of primitives.
bool IsValid () const
 Checks if the range is initialized.

Data Fields

int Start
int Final

Detailed Description

template<class T, int N>
struct BVH_QueueBuilder< T, N >::BVH_PrimitiveRange

Stores range of primitives belonging to a BVH node.

Constructor & Destructor Documentation

◆ BVH_PrimitiveRange()

template<class T, int N>
BVH_QueueBuilder< T, N >::BVH_PrimitiveRange::BVH_PrimitiveRange ( int theStart = -1,
int theFinal = -1 )
inline

Creates new primitive range.

Member Function Documentation

◆ IsValid()

template<class T, int N>
bool BVH_QueueBuilder< T, N >::BVH_PrimitiveRange::IsValid ( ) const
inline

Checks if the range is initialized.

◆ Size()

template<class T, int N>
int BVH_QueueBuilder< T, N >::BVH_PrimitiveRange::Size ( ) const
inline

Returns total number of primitives.

Field Documentation

◆ Final

template<class T, int N>
int BVH_QueueBuilder< T, N >::BVH_PrimitiveRange::Final

◆ Start

template<class T, int N>
int BVH_QueueBuilder< T, N >::BVH_PrimitiveRange::Start

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