OWL
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
owl::common::interval< T > Struct Template Reference

Public Types

typedef T scalar_t
 

Public Member Functions

__both__ interval (T begin, T end)
 
__both__ bool contains (const T &t) const
 
__both__ bool is_empty () const
 
__both__ bool empty () const
 
__both__ T center () const
 
__both__ T span () const
 
__both__ T diagonal () const
 
__both__ interval< T > & extend (const T &t)
 
__both__ interval< T > & extend (const interval< T > &t)
 
__both__ interval< T > including (const T &t)
 

Static Public Member Functions

static __both__ interval< T > positive ()
 

Public Attributes

union {
   T   begin
 
   T   lower
 
   T   lo
 
}; 
 
union {
   T   end
 
   T   upper
 
   T   hi
 
}; 
 

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