Public Member Functions

HPS_INLINE float Area () const
 
HPS_INLINE float Aspect () const
 
HPS_INLINE Point2D Center () const
 
HPS_INLINE RectangleCircumscribe_Scope (Rectangle const &scope)
 
HPS_INLINE bool Contains (Point const &contained) const
 
HPS_INLINE bool Contains (Point2D const &contained) const
 
HPS_INLINE bool Contains (Rectangle const &rect)
 
HPS_INLINE bool Contains (Rectangle const &rect, float epsilon)
 
HPS_INLINE RectangleContract (int border)
 
HPS_INLINE RectangleContract (Rectangle const &rect)
 
HPS_INLINE bool Equals (Rectangle const &rect, int in_tolerance=32) const
 
HPS_INLINE RectangleExpand (float border)
 
HPS_INLINE RectangleExpand (int border)
 
HPS_INLINE RectangleExpand (Rectangle const &rect)
 
HPS_INLINE float Height () const
 
HPS_INLINE RectangleInscribe_Scope (Rectangle const &scope)
 
HPS_INLINE RectangleIntersect (Rectangle const &rect)
 
HPS_INLINE bool Intersecting (Rectangle const &rect) const
 
HPS_INLINE void Merge (size_t count, Point const *points)
 
HPS_INLINE void Merge (Point const &point)
 
HPS_INLINE void Merge (size_t count, Point2D const *points)
 
HPS_INLINE void Merge (Point2D const &point)
 
HPS_INLINE bool operator!= (Rectangle const &rect) const
 
HPS_INLINE bool operator== (Rectangle const &rect) const
 
Rectangle (float in_left, float in_right, float in_bottom, float in_top)
 
Rectangle (Rectangle const &that)
 
Rectangle (IntRectangle const &that)
 
HPS_INLINE Rectangle (size_t count, Point const *points)
 
HPS_INLINE Rectangle (size_t count, Point2D const *points)
 
HPS_INLINE RectangleUnion (Rectangle const &rect)
 
HPS_INLINE float Width () const
 

Static Public Member Functions

static HPS_INLINE Rectangle FullScope ()
 
static HPS_INLINE Rectangle InvalidScope ()
 
static HPS_INLINE Rectangle Zero ()
 

Public Attributes

float bottom
 
float left
 
float right
 
float top
 

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