Gorgon Game Engine
Rectangle.h File Reference

contains the Rectangle class More...

Include dependency graph for Rectangle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  basic_Rectangle< T_ >
 Represents a rectangle in a 2D space. More...
 

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::Geometry
 This namespace contains geometric element classes.
 

Typedefs

typedef basic_Rectangle< int > Rectangle
 
typedef basic_Rectangle< Float > Rectanglef
 

Functions

template<class T_ >
bool IsInside (const basic_Rectangle< T_ > &r, const basic_Point< T_ > &p)
 Checks whether a given point is inside the given rectangle. More...
 
template<class T_ >
std::ostream & operator<< (std::ostream &out, const basic_Rectangle< T_ > &Rectangle)
 Allows streaming of Rectangle. More...
 
template<class T_ >
std::istream & operator>> (std::istream &in, basic_Rectangle< T_ > &rect)
 Allows reading a rectangle from a stream TODO requires more work. More...
 

Detailed Description

contains the Rectangle class