Rumba C++ SDK
Imath::Interval< T > Class Template Reference

#include <ImathInterval.h>

Public Member Functions

 Interval ()
 
 Interval (const T &point)
 
 Interval (const T &minT, const T &maxT)
 
bool operator== (const Interval< T > &src) const
 
void makeEmpty ()
 
void extendBy (const T &point)
 
void extendBy (const Interval< T > &interval)
 
size () const
 
center () const
 
bool intersects (const T &point) const
 
bool intersects (const Interval< T > &interval) const
 
bool hasVolume () const
 
bool isEmpty () const
 

Public Attributes

min
 
max
 

Constructor & Destructor Documentation

◆ Interval() [1/3]

template<class T >
Imath::Interval< T >::Interval ( )
inline

◆ Interval() [2/3]

template<class T >
Imath::Interval< T >::Interval ( const T &  point)
inline

◆ Interval() [3/3]

template<class T >
Imath::Interval< T >::Interval ( const T &  minT,
const T &  maxT 
)
inline

Member Function Documentation

◆ center()

template<class T >
T Imath::Interval< T >::center ( ) const
inline

◆ extendBy() [1/2]

template<class T >
void Imath::Interval< T >::extendBy ( const T &  point)
inline

◆ extendBy() [2/2]

template<class T >
void Imath::Interval< T >::extendBy ( const Interval< T > &  interval)
inline

◆ hasVolume()

template<class T >
bool Imath::Interval< T >::hasVolume ( ) const
inline

◆ intersects() [1/2]

template<class T >
bool Imath::Interval< T >::intersects ( const T &  point) const
inline

◆ intersects() [2/2]

template<class T >
bool Imath::Interval< T >::intersects ( const Interval< T > &  interval) const
inline

◆ isEmpty()

template<class T >
bool Imath::Interval< T >::isEmpty ( ) const
inline

◆ makeEmpty()

template<class T >
void Imath::Interval< T >::makeEmpty ( )
inline

◆ operator==()

template<class T >
bool Imath::Interval< T >::operator== ( const Interval< T > &  src) const
inline

◆ size()

template<class T >
T Imath::Interval< T >::size ( ) const
inline

Member Data Documentation

◆ max

template<class T>
T Imath::Interval< T >::max

◆ min

template<class T>
T Imath::Interval< T >::min

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