alaCarte Maps
Renderer for OpenStreetMap tiles
|
#include <rect.hpp>
Public Member Functions | |
basic_rect () | |
basic_rect (const basic_vector2< T > &p1, const basic_vector2< T > &p2) | |
basic_rect (T minX, T minY, T maxX, T maxY) | |
basic_rect (const basic_vector2< T > &minCoord, T width, T height) | |
basic_rect< T > | translate (T dx, T dy) const |
basic_rect< T > | grow (T dx, T dy) const |
void | enclose (const basic_rect< T > &other) |
void | enclose (const basic_vector2< T > &other) |
T | getArea () const |
basic_vector2< T > | getCenter () const |
basic_rect< T > | getIntersection (const basic_rect< T > &other) const |
bool | contains (const basic_vector2< T > &p) const |
bool | contains (const basic_rect< T > &other) const |
bool | intersects (const basic_rect< T > &bounding) const |
T | getWidth () const |
T | getHeight () const |
Public Attributes | |
T | minX |
T | minY |
T | maxX |
T | maxY |
Private Member Functions | |
template<typename Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
bool | between (const T &min, const T &value, const T &max) const |
Friends | |
class | boost::serialization::access |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
friend |
T basic_rect< T >::maxX |
T basic_rect< T >::maxY |
T basic_rect< T >::minX |
T basic_rect< T >::minY |