HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Interval< T > Class Template Reference

#include <ImathForward.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)
 
T size () const
 
T center () const
 
bool intersects (const T &point) const
 
bool intersects (const Interval< T > &interval) const
 
bool hasVolume () const
 
bool isEmpty () const
 

Public Attributes

T min
 
T max
 

Detailed Description

template<class T>
class Interval< T >

Definition at line 52 of file ImathForward.h.

Constructor & Destructor Documentation

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

Definition at line 126 of file ImathInterval.h.

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

Definition at line 132 of file ImathInterval.h.

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

Definition at line 139 of file ImathInterval.h.

Member Function Documentation

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

Definition at line 205 of file ImathInterval.h.

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

Definition at line 162 of file ImathInterval.h.

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

Definition at line 173 of file ImathInterval.h.

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

Definition at line 218 of file ImathInterval.h.

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

Definition at line 184 of file ImathInterval.h.

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

Definition at line 191 of file ImathInterval.h.

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

Definition at line 212 of file ImathInterval.h.

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

Definition at line 154 of file ImathInterval.h.

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

Definition at line 147 of file ImathInterval.h.

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

Definition at line 198 of file ImathInterval.h.

Member Data Documentation

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

Definition at line 68 of file ImathInterval.h.

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

Definition at line 67 of file ImathInterval.h.


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