#include <envelope.hpp>
Public Types | |
| typedef Envelope< T > | EnvelopeType |
Public Member Functions | |
| Envelope () | |
| Envelope (T minx, T miny, T maxx, T maxy) | |
| Envelope (const coord< T, 2 > &c0, const coord< T, 2 > &c1) | |
| Envelope (const EnvelopeType &rhs) | |
| T | minx () const |
| T | miny () const |
| T | maxx () const |
| T | maxy () const |
| T | width () const |
| T | height () const |
| void | width (T w) |
| void | height (T h) |
| coord< T, 2 > | center () const |
| void | expand_to_include (T x, T y) |
| void | expand_to_include (const coord< T, 2 > &c) |
| void | expand_to_include (const EnvelopeType &other) |
| bool | contains (const coord< T, 2 > &c) const |
| bool | contains (T x, T y) const |
| bool | contains (const EnvelopeType &other) const |
| bool | intersects (const coord< T, 2 > &c) const |
| bool | intersects (T x, T y) const |
| bool | intersects (const EnvelopeType &other) const |
| EnvelopeType | intersect (const EnvelopeType &other) const |
| bool | operator== (const EnvelopeType &other) const |
| void | re_center (T cx, T cy) |
| void | init (T x0, T y0, T x1, T y1) |
| EnvelopeType & | operator+= (EnvelopeType const &other) |
| EnvelopeType & | operator-= (EnvelopeType const &other) |
| EnvelopeType & | operator *= (T) |
| EnvelopeType & | operator/= (T) |
| typedef Envelope<T> mapnik::Envelope< T >::EnvelopeType |
| mapnik::Envelope< T >::Envelope | ( | ) |
| mapnik::Envelope< T >::Envelope | ( | T | minx, | |
| T | miny, | |||
| T | maxx, | |||
| T | maxy | |||
| ) |
| mapnik::Envelope< T >::Envelope | ( | const coord< T, 2 > & | c0, | |
| const coord< T, 2 > & | c1 | |||
| ) |
| mapnik::Envelope< T >::Envelope | ( | const EnvelopeType & | rhs | ) |
| coord< T, 2 > mapnik::Envelope< T >::center | ( | ) | const [inline] |
| bool mapnik::Envelope< T >::contains | ( | const EnvelopeType & | other | ) | const [inline] |
| bool mapnik::Envelope< T >::contains | ( | T | x, | |
| T | y | |||
| ) | const [inline] |
| bool mapnik::Envelope< T >::contains | ( | const coord< T, 2 > & | c | ) | const [inline] |
| void mapnik::Envelope< T >::expand_to_include | ( | const EnvelopeType & | other | ) |
| void mapnik::Envelope< T >::expand_to_include | ( | const coord< T, 2 > & | c | ) | [inline] |
| void mapnik::Envelope< T >::expand_to_include | ( | T | x, | |
| T | y | |||
| ) | [inline] |
| void mapnik::Envelope< T >::height | ( | T | h | ) | [inline] |
| T mapnik::Envelope< T >::height | ( | ) | const [inline] |
| void mapnik::Envelope< T >::init | ( | T | x0, | |
| T | y0, | |||
| T | x1, | |||
| T | y1 | |||
| ) | [inline] |
| Envelope< T > mapnik::Envelope< T >::intersect | ( | const EnvelopeType & | other | ) | const [inline] |
| bool mapnik::Envelope< T >::intersects | ( | const EnvelopeType & | other | ) | const [inline] |
| bool mapnik::Envelope< T >::intersects | ( | T | x, | |
| T | y | |||
| ) | const |
| bool mapnik::Envelope< T >::intersects | ( | const coord< T, 2 > & | c | ) | const [inline] |
| T mapnik::Envelope< T >::maxx | ( | ) | const [inline] |
| T mapnik::Envelope< T >::maxy | ( | ) | const [inline] |
| T mapnik::Envelope< T >::minx | ( | ) | const [inline] |
| T mapnik::Envelope< T >::miny | ( | ) | const [inline] |
| Envelope< T > & mapnik::Envelope< T >::operator *= | ( | T | ) |
| Envelope< T > & mapnik::Envelope< T >::operator+= | ( | EnvelopeType const & | other | ) |
| Envelope< T > & mapnik::Envelope< T >::operator-= | ( | EnvelopeType const & | other | ) |
| Envelope< T > & mapnik::Envelope< T >::operator/= | ( | T | ) |
| bool mapnik::Envelope< T >::operator== | ( | const EnvelopeType & | other | ) | const [inline] |
| void mapnik::Envelope< T >::re_center | ( | T | cx, | |
| T | cy | |||
| ) | [inline] |
| void mapnik::Envelope< T >::width | ( | T | w | ) | [inline] |
| T mapnik::Envelope< T >::width | ( | ) | const [inline] |
1.4.7