mapnik::Envelope< T > Class Template Reference

#include <envelope.hpp>

List of all members.

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)
minx () const
miny () const
maxx () const
maxy () const
width () const
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)
EnvelopeTypeoperator+= (EnvelopeType const &other)
EnvelopeTypeoperator-= (EnvelopeType const &other)
EnvelopeTypeoperator*= (T)
EnvelopeTypeoperator/= (T)

template<typename T>
class mapnik::Envelope< T >


Member Typedef Documentation

template<typename T>
typedef Envelope<T> mapnik::Envelope< T >::EnvelopeType


Constructor & Destructor Documentation

template<typename T>
mapnik::Envelope< T >::Envelope (  )  [inline]

template<typename T>
mapnik::Envelope< T >::Envelope ( minx,
miny,
maxx,
maxy 
) [inline]

template<typename T>
mapnik::Envelope< T >::Envelope ( const coord< T, 2 > &  c0,
const coord< T, 2 > &  c1 
) [inline]

template<typename T>
mapnik::Envelope< T >::Envelope ( const EnvelopeType rhs  ) 


Member Function Documentation

template<typename T>
T mapnik::Envelope< T >::minx (  )  const [inline]

template<typename T>
T mapnik::Envelope< T >::miny (  )  const [inline]

template<typename T>
T mapnik::Envelope< T >::maxx (  )  const [inline]

template<typename T>
T mapnik::Envelope< T >::maxy (  )  const [inline]

template<typename T>
T mapnik::Envelope< T >::width (  )  const [inline]

template<typename T>
T mapnik::Envelope< T >::height (  )  const [inline]

template<typename T>
void mapnik::Envelope< T >::width ( w  )  [inline]

template<typename T>
void mapnik::Envelope< T >::height ( h  )  [inline]

template<typename T>
coord< T, 2 > mapnik::Envelope< T >::center (  )  const [inline]

template<typename T>
void mapnik::Envelope< T >::expand_to_include ( x,
y 
) [inline]

template<typename T>
void mapnik::Envelope< T >::expand_to_include ( const coord< T, 2 > &  c  )  [inline]

template<typename T>
void mapnik::Envelope< T >::expand_to_include ( const EnvelopeType other  ) 

template<typename T>
bool mapnik::Envelope< T >::contains ( const coord< T, 2 > &  c  )  const [inline]

template<typename T>
bool mapnik::Envelope< T >::contains ( x,
y 
) const [inline]

template<typename T>
bool mapnik::Envelope< T >::contains ( const EnvelopeType other  )  const

template<typename T>
bool mapnik::Envelope< T >::intersects ( const coord< T, 2 > &  c  )  const [inline]

template<typename T>
bool mapnik::Envelope< T >::intersects ( x,
y 
) const [inline]

template<typename T>
bool mapnik::Envelope< T >::intersects ( const EnvelopeType other  )  const

template<typename T>
Envelope< T > mapnik::Envelope< T >::intersect ( const EnvelopeType other  )  const [inline]

template<typename T>
bool mapnik::Envelope< T >::operator== ( const EnvelopeType other  )  const

template<typename T>
void mapnik::Envelope< T >::re_center ( cx,
cy 
) [inline]

template<typename T>
void mapnik::Envelope< T >::init ( x0,
y0,
x1,
y1 
) [inline]

template<typename T>
EnvelopeType& mapnik::Envelope< T >::operator+= ( EnvelopeType const &  other  ) 

template<typename T>
EnvelopeType& mapnik::Envelope< T >::operator-= ( EnvelopeType const &  other  ) 

template<typename T>
Envelope< T > & mapnik::Envelope< T >::operator*= ( t  )  [inline]

template<typename T>
Envelope< T > & mapnik::Envelope< T >::operator/= ( t  )  [inline]


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

Generated for Mapnik by doxygen 1.5.6