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

Definition at line 386 of file ecvGBLSensor.cpp.

Constructor & Destructor Documentation

◆ Interval()

Interval::Interval ( )
inline

Default constructor.

Definition at line 388 of file ecvGBLSensor.cpp.

Referenced by FindBiggest().

Member Function Documentation

◆ FindBiggest()

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

Finds the biggest contiguous interval.

Definition at line 396 of file ecvGBLSensor.cpp.

References Interval(), span, and start.

Member Data Documentation

◆ span

int Interval::span

Interval span.

Definition at line 392 of file ecvGBLSensor.cpp.

Referenced by ccGBLSensor::computeAutoParameters(), and FindBiggest().

◆ start

int Interval::start

Interval start index.

Definition at line 390 of file ecvGBLSensor.cpp.

Referenced by ccGBLSensor::computeAutoParameters(), and FindBiggest().


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