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

#include <UT_SuperInterval.h>

+ Inheritance diagram for UT_SuperIntervalT< T >:

Public Member Functions

 UT_SuperIntervalT ()
 
 UT_SuperIntervalT (T a, T b, bool ia=true, bool ib=true)
 
 UT_SuperIntervalT (UT_IntervalT< T > const &interval)
 
 UT_SuperIntervalT (UT_SuperIntervalT< T > const &interval)
 
 ~UT_SuperIntervalT ()
 
UT_SuperIntervalToperator= (UT_SuperIntervalT< T > const &interval)=default
 
UT_SuperIntervalToperator= (UT_IntervalT< T > const &interval)
 
bool contains (T arg, T tol=T(SYS_FTOLERANCE)) const
 
void clamp (T c_min, T c_max)
 
void display () const
 
- Public Member Functions inherited from UT_IntervalT< T >
 UT_IntervalT (T a=0)
 
 UT_IntervalT (T a, T b, bool order=false)
 
UT_IntervalToperator+= (const UT_IntervalT &rhs)
 
UT_IntervalToperator-= (const UT_IntervalT &rhs)
 
UT_IntervalToperator*= (const UT_IntervalT &rhs)
 
UT_IntervalToperator/= (const UT_IntervalT &rhs)
 
UT_IntervalToperator|= (const UT_IntervalT &rhs)
 
UT_IntervalToperator&= (const UT_IntervalT &rhs)
 
UT_IntervalToperator+= (T rhs)
 
UT_IntervalToperator-= (T rhs)
 
UT_IntervalToperator*= (T rhs)
 
bool operator== (const UT_IntervalT &rhs) const
 
bool operator!= (const UT_IntervalT &rhs) const
 
void assign (T Min, T Max, bool order_them=false)
 
void extendToContain (T a)
 
void minWith (const UT_IntervalT &rhs)
 
void maxWith (const UT_IntervalT &rhs)
 
void order ()
 
T closest (T val) const
 
T closest (T val, T wrap) const
 
T avg () const
 
T delta () const
 
void square ()
 
UT_IntervalT sqr () const
 
UT_IntervalT abs () const
 
UT_IntervalT pow (T arg) const
 
int contains (T arg) const
 
int isValid (T tol=0.f) const
 
void display () const
 
int equalZero (T tol=0.00001f) const
 
int isEqual (const UT_IntervalT &v, T tol=0.00001f) const
 
void clampZero (T tol=0.00001f)
 
void negate ()
 
void invert (UT_IntervalT &v) const
 
void invert ()
 
SYS_HashType hash () const
 

Public Attributes

bool myMinInclusive
 
bool myMaxInclusive
 
- Public Attributes inherited from UT_IntervalT< T >
T min
 
T max
 

Additional Inherited Members

- Public Types inherited from UT_IntervalT< T >
typedef T value_type
 
typedef UT_IntervalT< Tthis_type
 

Detailed Description

template<typename T>
class UT_SuperIntervalT< T >

Definition at line 20 of file UT_SuperInterval.h.

Constructor & Destructor Documentation

template<typename T>
UT_SuperIntervalT< T >::UT_SuperIntervalT ( )
inline

Definition at line 23 of file UT_SuperInterval.h.

template<typename T>
UT_SuperIntervalT< T >::UT_SuperIntervalT ( T  a,
T  b,
bool  ia = true,
bool  ib = true 
)
inline

Definition at line 30 of file UT_SuperInterval.h.

template<typename T>
UT_SuperIntervalT< T >::UT_SuperIntervalT ( UT_IntervalT< T > const &  interval)
inline

Definition at line 37 of file UT_SuperInterval.h.

template<typename T>
UT_SuperIntervalT< T >::UT_SuperIntervalT ( UT_SuperIntervalT< T > const &  interval)
inline

Definition at line 43 of file UT_SuperInterval.h.

template<typename T>
UT_SuperIntervalT< T >::~UT_SuperIntervalT ( )
inline

Definition at line 50 of file UT_SuperInterval.h.

Member Function Documentation

template<typename T>
void UT_SuperIntervalT< T >::clamp ( T  c_min,
T  c_max 
)

Definition at line 103 of file UT_SuperInterval.h.

template<typename T>
bool UT_SuperIntervalT< T >::contains ( T  arg,
T  tol = T(SYS_FTOLERANCE) 
) const
inline

Definition at line 69 of file UT_SuperInterval.h.

template<typename T >
void UT_SuperIntervalT< T >::display ( ) const

Definition at line 121 of file UT_SuperInterval.h.

template<typename T>
UT_SuperIntervalT& UT_SuperIntervalT< T >::operator= ( UT_SuperIntervalT< T > const &  interval)
default
template<typename T>
UT_SuperIntervalT& UT_SuperIntervalT< T >::operator= ( UT_IntervalT< T > const &  interval)
inline

Definition at line 55 of file UT_SuperInterval.h.

Member Data Documentation

template<typename T>
bool UT_SuperIntervalT< T >::myMaxInclusive

Definition at line 90 of file UT_SuperInterval.h.

template<typename T>
bool UT_SuperIntervalT< T >::myMinInclusive

Definition at line 90 of file UT_SuperInterval.h.


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