Envelope defines an extent using a pair of positions defining opposite corners in arbitrary dimensions. More...
#include <Envelope.h>
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
Envelope () | |
It initializes a new empty Envelope. More... | |
Envelope (te::gm::Envelope *e, int srid) | |
It initializes the GML envelope with the given coordinates and srs. More... | |
~Envelope () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
te::gm::Envelope * | getCoordinates () const |
void | setCoordinates (const double &llx, const double &lly, const double &urx, const double &ury) |
int | getSRID () const |
void | setSRID (int srid) |
Private Member Functions | |
Not Allowed Methods | |
No copy allowed. | |
Envelope (const Envelope &rhs) | |
No copy constructor allowed. More... | |
Envelope & | operator= (const Envelope &rhs) |
No assignment operator allowed. More... | |
Private Attributes | |
te::gm::Envelope * | m_envelope |
The envelope coordinates. More... | |
int | m_srid |
The SRS associated to the envelope coordinates. More... | |
Envelope defines an extent using a pair of positions defining opposite corners in arbitrary dimensions.
The first direct position is the "lower corner" (a coordinate position consisting of all the minimal ordinates for each dimension for all points within the envelope), the second one the "upper corner" (a coordinate position consisting of all the maximal ordinates for each dimension for all points within the envelope).
The use of the properties "coordinates" and "pos" has been deprecated. The explicitly named properties "lowerCorner" and "upperCorner" shall be used instead.
Definition at line 52 of file Envelope.h.
te::gml::Envelope::Envelope | ( | ) |
It initializes a new empty Envelope.
Definition at line 30 of file Envelope.cpp.
te::gml::Envelope::Envelope | ( | te::gm::Envelope * | e, |
int | srid | ||
) |
It initializes the GML envelope with the given coordinates and srs.
e | The envelope. |
srid | The envelope spatial reference system. |
Definition at line 36 of file Envelope.cpp.
te::gml::Envelope::~Envelope | ( | ) |
Destructor.
Definition at line 42 of file Envelope.cpp.
|
private |
No copy constructor allowed.
rhs | The other object. |
te::gm::Envelope * te::gml::Envelope::getCoordinates | ( | ) | const |
Definition at line 47 of file Envelope.cpp.
Referenced by te::map::QueryEncoder::visit().
int te::gml::Envelope::getSRID | ( | ) | const |
Definition at line 60 of file Envelope.cpp.
Referenced by te::map::QueryEncoder::visit().
No assignment operator allowed.
rhs | The other object. |
void te::gml::Envelope::setCoordinates | ( | const double & | llx, |
const double & | lly, | ||
const double & | urx, | ||
const double & | ury | ||
) |
Definition at line 52 of file Envelope.cpp.
void te::gml::Envelope::setSRID | ( | int | srid | ) |
Definition at line 65 of file Envelope.cpp.
|
private |
The envelope coordinates.
Definition at line 119 of file Envelope.h.
|
private |
The SRS associated to the envelope coordinates.
Definition at line 120 of file Envelope.h.