Open CASCADE Technology  7.4.0
Public Member Functions | Data Fields
Graphic3d_BufferRange Struct Reference

Range of values defined as Start + Length pair. More...

#include <Graphic3d_BufferRange.hxx>

Public Member Functions

 Graphic3d_BufferRange ()
 Empty constructor. More...
 
 Graphic3d_BufferRange (Standard_Integer theStart, Standard_Integer theLength)
 Constructor. More...
 
Standard_Boolean IsEmpty () const
 Return TRUE if range is empty. More...
 
Standard_Integer Upper () const
 Return the Upper element within the range. More...
 
void Clear ()
 Clear the range. More...
 
void Unite (const Graphic3d_BufferRange &theRange)
 Add another range to this one. More...
 

Data Fields

Standard_Integer Start
 first element within the range More...
 
Standard_Integer Length
 number of elements within the range More...
 

Detailed Description

Range of values defined as Start + Length pair.

Constructor & Destructor Documentation

◆ Graphic3d_BufferRange() [1/2]

Graphic3d_BufferRange::Graphic3d_BufferRange ( )
inline

Empty constructor.

◆ Graphic3d_BufferRange() [2/2]

Graphic3d_BufferRange::Graphic3d_BufferRange ( Standard_Integer  theStart,
Standard_Integer  theLength 
)
inline

Constructor.

Member Function Documentation

◆ Clear()

void Graphic3d_BufferRange::Clear ( )
inline

Clear the range.

◆ IsEmpty()

Standard_Boolean Graphic3d_BufferRange::IsEmpty ( ) const
inline

Return TRUE if range is empty.

◆ Unite()

void Graphic3d_BufferRange::Unite ( const Graphic3d_BufferRange theRange)
inline

Add another range to this one.

◆ Upper()

Standard_Integer Graphic3d_BufferRange::Upper ( void  ) const
inline

Return the Upper element within the range.

Field Documentation

◆ Length

Standard_Integer Graphic3d_BufferRange::Length

number of elements within the range

◆ Start

Standard_Integer Graphic3d_BufferRange::Start

first element within the range


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