Artec 3D Scanning SDK  2.0
Public Types | Public Member Functions | Public Attributes | List of all members
artec::sdk::base::Range< T > Struct Template Reference

Structure that defines range (e.g., 0..1) More...

#include <artec/sdk/base/Range.h>

Public Types

typedef T value_type
 

Public Member Functions

 Range ()
 
 Range (const T &low, const T &high)
 
bool contains (const T &value) const
 Check whether the range contains that value. More...
 
bool operator() (const T &value) const
 Check whether the value lies inside the range. More...
 
bool operator[] (const T &value) const
 

Public Attributes

low
 
high
 

Detailed Description

template<typename T>
struct artec::sdk::base::Range< T >

Structure that defines range (e.g., 0..1)

Definition at line 23 of file Range.h.

Member Typedef Documentation

template<typename T>
typedef T artec::sdk::base::Range< T >::value_type

Definition at line 25 of file Range.h.

Constructor & Destructor Documentation

template<typename T>
artec::sdk::base::Range< T >::Range ( )
inline

Definition at line 27 of file Range.h.

template<typename T>
artec::sdk::base::Range< T >::Range ( const T &  low,
const T &  high 
)
inline

Definition at line 28 of file Range.h.

Member Function Documentation

template<typename T>
bool artec::sdk::base::Range< T >::contains ( const T &  value) const
inline

Check whether the range contains that value.

Definition at line 31 of file Range.h.

template<typename T>
bool artec::sdk::base::Range< T >::operator() ( const T &  value) const
inline

Check whether the value lies inside the range.

Definition at line 34 of file Range.h.

template<typename T>
bool artec::sdk::base::Range< T >::operator[] ( const T &  value) const
inline

Definition at line 35 of file Range.h.

Member Data Documentation

template<typename T>
T artec::sdk::base::Range< T >::high

Definition at line 38 of file Range.h.

template<typename T>
T artec::sdk::base::Range< T >::low

Definition at line 37 of file Range.h.


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