Hermes
hermes::BBox2< T > Class Template Reference

Public Member Functions

HERMES_DEVICE_CALLABLE BBox2 (const Point2< T > &p)
 
HERMES_DEVICE_CALLABLE BBox2 (const Point2< T > &p1, const Point2< T > &p2)
 
template<typename U >
HERMES_DEVICE_CALLABLE BBox2 (const Index2Range< U > &range)
 
template<typename U >
HERMES_DEVICE_CALLABLE BBox2operator= (const Index2Range< U > &range)
 
template<typename U >
HERMES_DEVICE_CALLABLE operator Index2Range< U > () const
 
HERMES_DEVICE_CALLABLE const Point2< T > & operator[] (int i) const
 
HERMES_DEVICE_CALLABLE Point2< T > & operator[] (int i)
 
HERMES_DEVICE_CALLABLE bool operator== (const BBox2 &b) const
 
HERMES_DEVICE_CALLABLE bool contains (const Point2< T > &p) const
 
HERMES_DEVICE_CALLABLE real_t size (int d) const
 
HERMES_DEVICE_CALLABLE Vector2< T > extends () const
 
HERMES_DEVICE_CALLABLE Point2< T > center () const
 
HERMES_DEVICE_CALLABLE Point2< T > centroid () const
 
HERMES_DEVICE_CALLABLE int maxExtent () const
 

Static Public Member Functions

static HERMES_DEVICE_CALLABLE BBox2< T > unitBox ()
 

Public Attributes

Point2< T > lower
 
Point2< T > upper
 

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