libLAS API Reference  1.8.1
Public Types | Public Member Functions | Public Attributes | List of all members
liblas::Range< T > Class Template Reference

#include <bounds.hpp>

Collaboration diagram for liblas::Range< T >:
Collaboration graph

Public Types

typedef T value_type
 

Public Member Functions

 Range (T mmin=(std::numeric_limits< T >::max)(), T mmax=(std::numeric_limits< T >::min)())
 
 Range (Range const &other)
 
Rangeoperator= (Range< T > const &rhs)
 
bool operator== (Range< T > const &rhs) const
 
bool operator!= (Range const &rhs) const
 
bool equal (Range const &other) const
 
bool overlaps (Range const &r) const
 
bool contains (Range const &r) const
 
bool contains (T v) const
 
bool empty (void) const
 
void shift (T v)
 
void scale (T v)
 
void clip (Range const &r)
 
void grow (T v)
 
void grow (Range const &r)
 
length () const
 

Public Attributes

minimum
 
maximum
 

Member Typedef Documentation

template<typename T>
typedef T liblas::Range< T >::value_type

Constructor & Destructor Documentation

template<typename T>
liblas::Range< T >::Range ( mmin = (std::numeric_limits<T>::max)(),
mmax = (std::numeric_limits<T>::min)() 
)
inline
template<typename T>
liblas::Range< T >::Range ( Range< T > const &  other)
inline

Member Function Documentation

template<typename T>
void liblas::Range< T >::clip ( Range< T > const &  r)
inline
template<typename T>
bool liblas::Range< T >::contains ( Range< T > const &  r) const
inline
template<typename T>
bool liblas::Range< T >::contains ( v) const
inline
template<typename T>
bool liblas::Range< T >::empty ( void  ) const
inline
template<typename T>
bool liblas::Range< T >::equal ( Range< T > const &  other) const
inline
template<typename T>
void liblas::Range< T >::grow ( v)
inline
template<typename T>
void liblas::Range< T >::grow ( Range< T > const &  r)
inline
template<typename T>
T liblas::Range< T >::length ( ) const
inline
template<typename T>
bool liblas::Range< T >::operator!= ( Range< T > const &  rhs) const
inline
template<typename T>
Range& liblas::Range< T >::operator= ( Range< T > const &  rhs)
inline
template<typename T>
bool liblas::Range< T >::operator== ( Range< T > const &  rhs) const
inline
template<typename T>
bool liblas::Range< T >::overlaps ( Range< T > const &  r) const
inline
template<typename T>
void liblas::Range< T >::scale ( v)
inline
template<typename T>
void liblas::Range< T >::shift ( v)
inline

Member Data Documentation

template<typename T>
T liblas::Range< T >::maximum
template<typename T>
T liblas::Range< T >::minimum

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