All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | List of all members
star::AARect Class Reference

#include <AARect.h>

Collaboration diagram for star::AARect:
Collaboration graph

Public Member Functions

 AARect ()
 AARect (int x, int y, int width, int height)
 AARect (const vec2 &location, const vec2 &size)
 ~AARect ()
int GetLeft () const
int GetTop () const
int GetRight () const
int GetBottom () const
bool Equals (const AARect &rect) const
bool Contains (int x, int y) const
bool Contains (const vec2 &pt) const
bool Contains (AARect &rect) const
bool Intersect (const AARect &rect)

Static Public Member Functions

static bool Intersect (const AARect &a, const AARect &b)

Constructor & Destructor Documentation

star::AARect::AARect ( )
star::AARect::AARect ( int  x,
int  y,
int  width,
int  height 
star::AARect::AARect ( const vec2 &  location,
const vec2 &  size 
star::AARect::~AARect ( )

Member Function Documentation

bool star::AARect::Contains ( int  x,
int  y 
) const
bool star::AARect::Contains ( const vec2 &  pt) const
bool star::AARect::Contains ( AARect rect) const
bool star::AARect::Equals ( const AARect rect) const
int star::AARect::GetBottom ( ) const
int star::AARect::GetLeft ( ) const
int star::AARect::GetRight ( ) const
int star::AARect::GetTop ( ) const
bool star::AARect::Intersect ( const AARect rect)
bool star::AARect::Intersect ( const AARect a,
const AARect b 

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