Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
GMathBbox2< T > Class Template Reference
Inheritance diagram for GMathBbox2< T >:
CoreBaseType

Public Member Functions

 GMathBbox2 (const T &x_min, const T &y_min, const T &x_max, const T &y_max)
 
template<class U >
 GMathBbox2 (const GMathVec2< U > &min, const GMathVec2< U > &max)
 
template<class U >
 GMathBbox2 (const GMathBbox2< U > &v)
 
GMathBbox2 get_copy ()
 
void copy_from (const GMathBbox2 &bbox)
 
void copy_to (GMathBbox2 &bbox) const
 
template<class U >
void grow (const GMathBbox2< U > &bbox)
 
template<class U >
void grow (const GMathVec2< U > &v)
 
template<class U >
void grow (const U &value)
 
template<class U >
void add (const GMathBbox2< U > &bbox1, const GMathBbox2< U > &bbox2)
 
template<class U >
void compute_center (GMathVec2< U > &center) const
 
GMathVec2< T > get_center () const
 
template<class U >
bool overlaps (const GMathVec2< U > &vertex) const
 
template<class U >
bool overlaps (const GMathBbox2< U > &bbox) const
 
template<class U >
bool contains (const U &x_coord, const U &y_coord) const
 
template<class U >
bool contains (const GMathBbox2< U > &bbox) const
 
template<class U >
bool equals (const GMathBbox2< U > &bbox) const
 
template<class U >
bool operator== (const GMathBbox2< U > &bbox) const
 
template<class U >
bool overlaps (const GMathVec2< U > &center, const U &radius) const
 
template<class U >
GMathBbox2< U > intersects (const GMathBbox2< U > &bbox)
 
bool intersect (const GMathRay<> &ray, double &tmin, double &tmax, const double &tnear=gmath_epsilon, const double &tfar=gmath_infinity) const
 
void compute_interpolated_bbox (const T &time, const GMathBbox2 &start_bbox, const GMathBbox2 &end_bbox)
 
void get_corner_vertices (GMathVec2< T > vertices[4]) const
 
compute_area () const
 
bool is_empty () const
 
const T & get_item (const unsigned int &x, const unsigned int &y)
 
void set_item (const unsigned int &x, const unsigned int &y, const T &value)
 
GMathVec2< T > & operator[] (const unsigned int &index)
 
const GMathVec2< T > & operator[] (const unsigned int &index) const
 
template<class U >
GMathBbox2< T > & operator= (const GMathBbox2< U > &v)
 
template<class U >
bool operator!= (const GMathBbox2< U > &b) const
 
const CoreClassInfoget_class_info () const
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 

Static Public Member Functions

static const CoreClassInfoclass_info ()
 
- Static Public Member Functions inherited from CoreBaseType
static const CoreClassInfoclass_info ()
 Get the type descriptor of this instance.
 

Friends

CoreLogStreamoperator<< (CoreLogStream &os, const GMathBbox2< T > &v)