Open CASCADE Technology  7.3.0
Public Member Functions | Data Fields

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 (Standard_Integer theStart=-1, Standard_Integer theFinal=-1)
 Creates new primitive range. More...
 
Standard_Integer Size () const
 Returns total number of primitives. More...
 
Standard_Boolean IsValid () const
 Checks if the range is initialized. More...
 

Data Fields

Standard_Integer Start
 
Standard_Integer 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 ( Standard_Integer  theStart = -1,
Standard_Integer  theFinal = -1 
)
inline

Creates new primitive range.

Member Function Documentation

◆ IsValid()

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

Checks if the range is initialized.

◆ Size()

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

Returns total number of primitives.

Field Documentation

◆ Final

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

◆ Start

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

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