ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Interval Struct Reference

Public Member Functions

 Interval ()
 Default constructor. More...
 

Static Public Member Functions

template<class T >
static Interval FindBiggest (const std::vector< T > &values, T intValue, bool allowLoop=true)
 Finds the biggest contiguous interval. More...
 

Public Attributes

int start
 Interval start index. More...
 
int span
 Interval span. More...
 

Detailed Description

Interval structure used for determining the largest empty angular interval in ccGBLSensor::project

Constructor & Destructor Documentation

◆ Interval()

Interval::Interval ( )
inline

Default constructor.

Referenced by FindBiggest().

Member Function Documentation

◆ FindBiggest()

template<class T >
static Interval Interval::FindBiggest ( const std::vector< T > &  values,
T  intValue,
bool  allowLoop = true 
)
inlinestatic

Finds the biggest contiguous interval.

References Interval(), span, and start.

Member Data Documentation

◆ span

int Interval::span

◆ start

int Interval::start

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