te::gml::Envelope Class Reference

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::EnvelopegetCoordinates () 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...
 
Envelopeoperator= (const Envelope &rhs)
 No assignment operator allowed. More...
 

Private Attributes

te::gm::Envelopem_envelope
 The envelope coordinates. More...
 
int m_srid
 The SRS associated to the envelope coordinates. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

te::gml::Envelope::Envelope ( )

It initializes a new empty Envelope.

te::gml::Envelope::Envelope ( te::gm::Envelope e,
int  srid 
)

It initializes the GML envelope with the given coordinates and srs.

Parameters
eThe envelope.
sridThe envelope spatial reference system.
te::gml::Envelope::~Envelope ( )

Destructor.

te::gml::Envelope::Envelope ( const Envelope rhs)
private

No copy constructor allowed.

Parameters
rhsThe other object.

Member Function Documentation

te::gm::Envelope* te::gml::Envelope::getCoordinates ( ) const
int te::gml::Envelope::getSRID ( ) const
Envelope& te::gml::Envelope::operator= ( const Envelope rhs)
private

No assignment operator allowed.

Parameters
rhsThe other object.
Returns
A reference for this object.
void te::gml::Envelope::setCoordinates ( const double &  llx,
const double &  lly,
const double &  urx,
const double &  ury 
)
void te::gml::Envelope::setSRID ( int  srid)

Member Data Documentation

te::gm::Envelope* te::gml::Envelope::m_envelope
private

The envelope coordinates.

Definition at line 119 of file Envelope.h.

int te::gml::Envelope::m_srid
private

The SRS associated to the envelope coordinates.

Definition at line 120 of file Envelope.h.


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