libLAS API Reference (svn-trunk)
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)
Range & operator= (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)
T length () const

Public Attributes

T minimum
T maximum

Member Typedef Documentation

◆ value_type

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

Constructor & Destructor Documentation

◆ Range() [1/2]

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

References maximum, and minimum.

Referenced by clip(), contains(), equal(), grow(), operator!=(), operator=(), operator==(), overlaps(), and Range().

Here is the caller graph for this function:

◆ Range() [2/2]

template<typename T>
liblas::Range< T >::Range ( Range< T > const & other)
inline

References maximum, minimum, and Range().

Here is the call graph for this function:

Member Function Documentation

◆ clip()

template<typename T>
void liblas::Range< T >::clip ( Range< T > const & r)
inline

References maximum, minimum, and Range().

Here is the call graph for this function:

◆ contains() [1/2]

template<typename T>
bool liblas::Range< T >::contains ( Range< T > const & r) const
inline

References maximum, minimum, and Range().

Here is the call graph for this function:

◆ contains() [2/2]

template<typename T>
bool liblas::Range< T >::contains ( T v) const
inline

References maximum, and minimum.

◆ empty()

template<typename T>
bool liblas::Range< T >::empty ( void ) const
inline

References maximum, and minimum.

◆ equal()

template<typename T>
bool liblas::Range< T >::equal ( Range< T > const & other) const
inline

References maximum, minimum, and Range().

Referenced by operator!=(), and operator==().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ grow() [1/2]

template<typename T>
void liblas::Range< T >::grow ( Range< T > const & r)
inline

References grow(), maximum, minimum, and Range().

Here is the call graph for this function:

◆ grow() [2/2]

template<typename T>
void liblas::Range< T >::grow ( T v)
inline

References maximum, and minimum.

Referenced by grow().

Here is the caller graph for this function:

◆ length()

template<typename T>
T liblas::Range< T >::length ( ) const
inline

References maximum, and minimum.

◆ operator!=()

template<typename T>
bool liblas::Range< T >::operator!= ( Range< T > const & rhs) const
inline

References equal(), and Range().

Here is the call graph for this function:

◆ operator=()

template<typename T>
Range & liblas::Range< T >::operator= ( Range< T > const & rhs)
inline

References maximum, minimum, and Range().

Here is the call graph for this function:

◆ operator==()

template<typename T>
bool liblas::Range< T >::operator== ( Range< T > const & rhs) const
inline

References equal(), and Range().

Here is the call graph for this function:

◆ overlaps()

template<typename T>
bool liblas::Range< T >::overlaps ( Range< T > const & r) const
inline

References maximum, minimum, and Range().

Here is the call graph for this function:

◆ scale()

template<typename T>
void liblas::Range< T >::scale ( T v)
inline

References maximum, and minimum.

◆ shift()

template<typename T>
void liblas::Range< T >::shift ( T v)
inline

References maximum, and minimum.

Member Data Documentation

◆ maximum

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

◆ minimum

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

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