An Envelope defines a 2D rectangular region. More...
#include <Envelope.h>
Public Member Functions | |
Basic Envelope Methods | |
Basic Envelope methods. | |
Envelope () | |
It constructs an envelope with invalid coordinates. More... | |
Envelope (const double &llx, const double &lly, const double &urx, const double &ury) | |
Constructor. More... | |
Envelope (const std::vector< double > &vectd) | |
Constructor. More... | |
Envelope (const Envelope &rhs) | |
Copy constructor. More... | |
void | init (const double &llx, const double &lly, const double &urx, const double &ury) |
It initializes (sets) the envelope bounds. More... | |
const double & | getLowerLeftX () const |
It returns a constant reference to the x coordinate of the lower left corner. More... | |
double & | getLowerLeftX () |
It returns a constant reference to the x coordinate of the lower left corner. More... | |
const double & | getLowerLeftY () const |
It returns a constant refernce to the y coordinate of the lower left corner. More... | |
double & | getLowerLeftY () |
It returns a constant refernce to the y coordinate of the lower left corner. More... | |
const double & | getUpperRightX () const |
It returns a constant refernce to the x coordinate of the upper right corner. More... | |
double & | getUpperRightX () |
It returns a constant refernce to the y coordinate of the upper right corner. More... | |
const double & | getUpperRightY () const |
It returns a constant refernce to the x coordinate of the upper right corner. More... | |
double & | getUpperRightY () |
It returns a constant refernce to the y coordinate of the upper right corner. More... | |
Coord2D | getLowerLeft () const |
It returns the lower left coordinate of the envelope. More... | |
Coord2D | getUpperRight () const |
It returns the upper right coordinate of the envelope. More... | |
Coord2D | getCenter () const |
It returns the rectangle's center coordinate. More... | |
void | makeInvalid () |
It will invalidated the envelope. More... | |
bool | isValid () const |
It tells if the rectangle is valid or not. More... | |
double | getWidth () const |
It returns the envelope width. More... | |
double | getHeight () const |
It returns the envelope height. More... | |
double | getArea () const |
It returns the area of this envelope as measured in the spatial reference system of it. More... | |
Envelope Operators | |
Overloaded operators for an envelope. | |
Envelope & | operator= (const Envelope &rhs) |
Assignment operator. More... | |
bool | operator== (const Envelope &rhs) const |
Equal operator. More... | |
Spatial Operations | |
Methods for testing spatial relations between Envelope objects and to perform some operations over envelope type. | |
bool | equals (const Envelope &rhs) const |
It returns true if the envelopes are "spatially equal". More... | |
bool | disjoint (const Envelope &rhs) const |
It returns true if this envelope is "spatially disjoint" from rhs envelope. More... | |
bool | intersects (const Envelope &rhs) const |
It returns true if the envelopes "spatially intersects". More... | |
bool | touches (const Envelope &rhs) const |
It returns true if the envelopes "spatially touches". More... | |
bool | within (const Envelope &rhs) const |
It returns true if this envelope is "spatially within" the rhs envelope. More... | |
bool | contains (const Envelope &rhs) const |
It returns true if this envelope "spatially contains" the rhs envelope. More... | |
double | distance (const Envelope &rhs) const |
It returns the shortest distance between any two points in the two envelopes. More... | |
Envelope | intersection (const Envelope &rhs) const |
It returns an envelope that represents the point set intersection with another envelope. More... | |
void | Union (const Envelope &rhs) |
It updates the envelop with coordinates of another envelope. More... | |
void | transform (int oldsrid, int newsrid) |
It will transform the coordinates of the Envelope from the old SRS to the new one. More... | |
Public Attributes | |
double | m_llx |
Lower left corner x-coordinate. More... | |
double | m_lly |
Lower left corner y-coordinate. More... | |
double | m_urx |
Upper right corner x-coordinate. More... | |
double | m_ury |
Upper right corner y-coordinate. More... | |
An Envelope defines a 2D rectangular region.
Definition at line 51 of file Envelope.h.
|
inline |
It constructs an envelope with invalid coordinates.
Definition at line 350 of file Envelope.h.
References makeInvalid().
Referenced by intersection().
|
inline |
Constructor.
llx | Lower left corner x-coordinate. |
lly | Lower left corner y-coordinate. |
urx | Upper right corner x-coordinate. |
ury | Upper right corner y-coordinate. |
Definition at line 355 of file Envelope.h.
References init().
|
inline |
Constructor.
vectd | Vector of doubles representing the envelope lower left and upper right corners. |
Definition at line 361 of file Envelope.h.
|
inline |
|
inline |
It returns true if this envelope "spatially contains" the rhs envelope.
rhs | The other envelope to be compared. |
Definition at line 535 of file Envelope.h.
References m_llx, m_lly, m_urx, and m_ury.
Referenced by te::attributefill::RasterToVector::run().
|
inline |
double te::gm::Envelope::distance | ( | const Envelope & | rhs | ) | const |
It returns the shortest distance between any two points in the two envelopes.
rhs | The other envelope. |
Definition at line 56 of file Envelope.cpp.
|
inline |
It returns true if the envelopes are "spatially equal".
rhs | The another envelope to be compared. |
Definition at line 477 of file Envelope.h.
Referenced by te::qt::widgets::FusionWizard::adjustRasters().
|
inline |
It returns the area of this envelope as measured in the spatial reference system of it.
Definition at line 453 of file Envelope.h.
References getHeight(), and getWidth().
Referenced by te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::classify(), te::sa::DataSetAdaptRadiusKernel(), te::sa::GridAdaptRadiusKernel(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::pickBranch(), and te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::pigeonhole().
te::gm::Coord2D te::gm::Envelope::getCenter | ( | ) | const |
It returns the rectangle's center coordinate.
Definition at line 51 of file Envelope.cpp.
Referenced by te::qt::widgets::MapDisplay::adjustExtent(), te::layout::AlignItems::alignCenterHorizontal(), te::layout::AlignItems::alignCenterVertical(), te::qt::widgets::Zoom::applyZoom(), te::map::AbstractLayerRenderer::buildChart(), te::map::QueryLayerRenderer::buildChart(), te::qt::widgets::ZoomInMapDisplayWidget::calculateExtent(), te::layout::Utils::calculatePlanarZone(), te::qt::widgets::Measure::drawPolygon(), te::qt::widgets::Selection::executeSelection(), te::edit::Repository::getFeature(), te::qt::widgets::Info::getGeometryInfo(), te::qt::widgets::Info::getRasterInfo(), te::edit::VertexTool::mouseMoveEvent(), te::qt::widgets::ZoomLeftAndRightClick::mousePressEvent(), te::qt::af::MapDisplay::onApplicationTriggered(), te::qt::af::BaseApplication::onLayerPanToSelectedOnMapDisplayTriggered(), te::qt::widgets::ROIManagerWidget::onPointPicked(), te::edit::PickFeature(), te::edit::SnapVertex::search(), te::vp::GeometricOpMemory::SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), and te::vp::GeometricOpMemory::SetAllObjects().
|
inline |
It returns the envelope height.
Definition at line 448 of file Envelope.h.
Referenced by te::qt::widgets::Zoom::applyZoom(), te::layout::MapItem::boundingRect(), te::sa::KernelOperation::buildRaster(), te::graph::BoxLoaderStrategy::calculateBox(), te::qt::widgets::ZoomInMapDisplayWidget::calculateExtent(), te::layout::MapItem::calculateFrameMargin(), te::layout::ParentItem< T >::calculateNewPixmap(), te::layout::Utils::changeCanvas(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::checkList(), te::qt::widgets::Canvas::draw(), te::layout::ItemGroup::drawBackground(), te::map::DrawRaster(), getArea(), te::layout::Utils::getImageW(), te::layout::MapModel::getScale(), te::rst::Grid::Grid(), te::layout::WorldTransformer::initVariables(), te::layout::MapItem::MapItem(), te::qt::widgets::ZoomLeftAndRightClick::mousePressEvent(), te::layout::ParentItem< T >::mouseReleaseEvent(), te::layout::ObjectInspectorOutside::ObjectInspectorOutside(), te::qt::af::MapDisplay::onApplicationTriggered(), te::qt::af::BaseApplication::onLayerPanToSelectedOnMapDisplayTriggered(), te::layout::ItemGroup::paint(), te::qt::widgets::TrajectoryItem::paint(), te::layout::ParentItem< T >::ParentItem(), te::layout::PropertiesOutside::PropertiesOutside(), te::layout::MapItem::recalculateBoundingRect(), te::rst::Reproject(), te::sa::KernelOperation::runDataSetKernel(), te::sa::KernelOperation::runRasterKernel(), te::qt::widgets::ImageItem::setImagePosition(), te::qt::widgets::AnimationView::setMatrix(), te::layout::ParentItem< T >::setPixmap(), te::layout::Utils::textBoundingBox(), te::rst::TileIndexer::TileIndexer(), te::gdal::Raster::transform(), te::rst::Raster::transform(), te::layout::LegendModel::updateBox(), te::layout::ItemGroup::updateObserver(), te::layout::LegendItem::updateObserver(), te::layout::MapItem::updateObserver(), and te::layout::Utils::viewportBoxFromMM().
te::gm::Coord2D te::gm::Envelope::getLowerLeft | ( | ) | const |
It returns the lower left coordinate of the envelope.
Definition at line 41 of file Envelope.cpp.
Referenced by te::layout::GridGeodesicModel::calculateGaps(), te::rp::ClassifierDummyStrategy::execute(), InterpolateIn(), and te::rst::PolygonIterator< T >::PolygonIterator().
|
inline |
It returns a constant reference to the x coordinate of the lower left corner.
Definition at line 390 of file Envelope.h.
References m_llx.
Referenced by te::layout::Utils::addCoordsInX(), te::md::MD_DataIdentification::addGeographicBBoxExt(), te::qt::widgets::FusionWizard::adjustRasters(), te::layout::AlignItems::alignLeft(), te::layout::GridPlanarModel::calculateGaps(), te::layout::Utils::changeCanvas(), te::layout::BuildContext::createLayoutContext(), te::layout::VisualizationArea::createPaper(), te::layout::Utils::createSimpleLine(), te::layout::LegendModel::drawGroupingLegend(), te::layout::GridPlanarModel::drawHorizontalLines(), te::layout::GridGeodesicModel::drawHorizontalLines(), te::layout::LegendChildModel::drawLegend(), te::layout::Utils::drawRectW(), te::layout::LegendModel::drawStyleLegend(), te::layout::GridPlanarModel::drawVerticalLines(), te::layout::GridGeodesicModel::drawVerticalLines(), te::rp::GeoMosaic::execute(), te::rp::TiePointsMosaic::execute(), te::rp::SequenceMosaic::execute(), te::rp::GetDetailedExtent(), te::gdal::DataSet::getExtent(), te::rst::Raster::getExtent(), te::gdal::Transactor::getExtent(), te::wcs::Transactor::getExtent(), te::wms::Transactor::getExtent(), te::qt::widgets::RasterNavigatorWidget::getExtentRaster(), te::sa::SamplePointsGeneratorAbstract::getPoint(), te::layout::WorldTransformer::initVariables(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::qt::widgets::ClippingWizardPage::onEnvelopeAcquired(), te::qt::widgets::TrajectoryItem::paint(), te::layout::Utils::remapToPlanar(), te::md::Save(), te::layout::LineModel::setCoords(), te::layout::Utils::transformToViewport(), te::rst::Raster::trim(), te::layout::LegendModel::updateBox(), and te::layout::Utils::viewportBoxFromMM().
|
inline |
It returns a constant reference to the x coordinate of the lower left corner.
Definition at line 395 of file Envelope.h.
References m_llx.
|
inline |
It returns a constant refernce to the y coordinate of the lower left corner.
Definition at line 400 of file Envelope.h.
References m_lly.
Referenced by te::layout::Utils::addCoordsInY(), te::md::MD_DataIdentification::addGeographicBBoxExt(), te::qt::widgets::FusionWizard::adjustRasters(), te::layout::AlignItems::alignBottom(), te::layout::GridPlanarModel::calculateGaps(), te::layout::Utils::changeCanvas(), te::layout::BuildContext::createLayoutContext(), te::layout::VisualizationArea::createPaper(), te::layout::Utils::createSimpleLine(), te::layout::GridPlanarModel::drawHorizontalLines(), te::layout::GridGeodesicModel::drawHorizontalLines(), te::layout::Utils::drawRectW(), te::layout::GridPlanarModel::drawVerticalLines(), te::layout::GridGeodesicModel::drawVerticalLines(), te::rp::GeoMosaic::execute(), te::rp::TiePointsMosaic::execute(), te::rp::GetDetailedExtent(), te::gdal::DataSet::getExtent(), te::rst::Raster::getExtent(), te::gdal::Transactor::getExtent(), te::wcs::Transactor::getExtent(), te::wms::Transactor::getExtent(), te::qt::widgets::RasterNavigatorWidget::getExtentRaster(), te::sa::SamplePointsGeneratorAbstract::getPoint(), te::rst::TileIndexer::getTileIndex(), te::layout::WorldTransformer::initVariables(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::qt::widgets::ClippingWizardPage::onEnvelopeAcquired(), te::qt::widgets::TrajectoryItem::paint(), te::layout::Utils::remapToPlanar(), te::md::Save(), te::layout::LineModel::setCoords(), te::layout::Utils::transformToViewport(), te::rst::Raster::trim(), te::layout::LegendModel::updateBox(), and te::layout::Utils::viewportBoxFromMM().
|
inline |
It returns a constant refernce to the y coordinate of the lower left corner.
Definition at line 405 of file Envelope.h.
References m_lly.
te::gm::Coord2D te::gm::Envelope::getUpperRight | ( | ) | const |
It returns the upper right coordinate of the envelope.
Definition at line 46 of file Envelope.cpp.
Referenced by te::layout::GridGeodesicModel::calculateGaps(), te::rp::ClassifierDummyStrategy::execute(), InterpolateIn(), and te::rst::PolygonIterator< T >::PolygonIterator().
|
inline |
It returns a constant refernce to the x coordinate of the upper right corner.
Definition at line 410 of file Envelope.h.
References m_urx.
Referenced by te::layout::Utils::addCoordsInX(), te::md::MD_DataIdentification::addGeographicBBoxExt(), te::qt::widgets::FusionWizard::adjustRasters(), te::layout::AlignItems::alignRight(), te::layout::Utils::changeCanvas(), te::layout::BuildContext::createLayoutContext(), te::layout::Utils::createSimpleLine(), te::layout::GridPlanarModel::drawHorizontalLines(), te::layout::GridGeodesicModel::drawHorizontalLines(), te::layout::Utils::drawRectW(), te::layout::GridPlanarModel::drawVerticalLines(), te::layout::GridGeodesicModel::drawVerticalLines(), te::rp::GeoMosaic::execute(), te::rp::TiePointsMosaic::execute(), te::rp::GetDetailedExtent(), te::gdal::DataSet::getExtent(), te::rst::Raster::getExtent(), te::gdal::Transactor::getExtent(), te::wcs::Transactor::getExtent(), te::wms::Transactor::getExtent(), te::qt::widgets::RasterNavigatorWidget::getExtentRaster(), te::sa::SamplePointsGeneratorAbstract::getPoint(), te::layout::WorldTransformer::initVariables(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::qt::widgets::ClippingWizardPage::onEnvelopeAcquired(), te::md::Save(), te::layout::LineModel::setCoords(), te::layout::Utils::transformToViewport(), te::rst::Raster::trim(), and te::layout::Utils::viewportBoxFromMM().
|
inline |
It returns a constant refernce to the y coordinate of the upper right corner.
Definition at line 415 of file Envelope.h.
References m_urx.
|
inline |
It returns a constant refernce to the x coordinate of the upper right corner.
Definition at line 420 of file Envelope.h.
References m_ury.
Referenced by te::layout::Utils::addCoordsInY(), te::md::MD_DataIdentification::addGeographicBBoxExt(), te::qt::widgets::FusionWizard::adjustRasters(), te::layout::AlignItems::alignTop(), te::layout::Utils::changeCanvas(), te::layout::BuildContext::createLayoutContext(), te::layout::Utils::createSimpleLine(), te::layout::GridPlanarModel::drawHorizontalLines(), te::layout::GridGeodesicModel::drawHorizontalLines(), te::layout::Utils::drawRectW(), te::layout::GridPlanarModel::drawVerticalLines(), te::layout::GridGeodesicModel::drawVerticalLines(), te::rp::GeoMosaic::execute(), te::rp::TiePointsMosaic::execute(), te::rp::SequenceMosaic::execute(), te::rp::GetDetailedExtent(), te::gdal::DataSet::getExtent(), te::rst::Raster::getExtent(), te::gdal::Transactor::getExtent(), te::wcs::Transactor::getExtent(), te::wms::Transactor::getExtent(), te::qt::widgets::RasterNavigatorWidget::getExtentRaster(), te::sa::SamplePointsGeneratorAbstract::getPoint(), te::rst::TileIndexer::getTileIndex(), te::layout::WorldTransformer::initVariables(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::qt::widgets::ClippingWizardPage::onEnvelopeAcquired(), te::md::Save(), te::layout::LineModel::setCoords(), te::layout::Utils::transformToViewport(), te::rst::Raster::trim(), and te::layout::Utils::viewportBoxFromMM().
|
inline |
It returns a constant refernce to the y coordinate of the upper right corner.
Definition at line 425 of file Envelope.h.
References m_ury.
|
inline |
It returns the envelope width.
Definition at line 443 of file Envelope.h.
Referenced by te::qt::widgets::Zoom::applyZoom(), te::layout::MapItem::boundingRect(), te::sa::KernelOperation::buildRaster(), te::graph::BoxLoaderStrategy::calculateBox(), te::qt::widgets::ZoomInMapDisplayWidget::calculateExtent(), te::layout::MapItem::calculateFrameMargin(), te::layout::ParentItem< T >::calculateNewPixmap(), te::layout::Utils::changeCanvas(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::checkList(), te::qt::widgets::Canvas::draw(), te::layout::ItemGroup::drawBackground(), te::map::DrawRaster(), getArea(), te::layout::Utils::getImageW(), te::layout::MapModel::getScale(), te::rst::Grid::Grid(), te::layout::WorldTransformer::initVariables(), te::layout::MapItem::MapItem(), te::qt::widgets::ZoomLeftAndRightClick::mousePressEvent(), te::layout::ParentItem< T >::mouseReleaseEvent(), te::layout::ObjectInspectorOutside::ObjectInspectorOutside(), te::qt::af::MapDisplay::onApplicationTriggered(), te::qt::af::BaseApplication::onLayerPanToSelectedOnMapDisplayTriggered(), te::layout::ItemGroup::paint(), te::qt::widgets::TrajectoryItem::paint(), te::layout::ParentItem< T >::ParentItem(), te::layout::PropertiesOutside::PropertiesOutside(), te::layout::MapItem::recalculateBoundingRect(), te::rst::Reproject(), te::sa::KernelOperation::runDataSetKernel(), te::sa::KernelOperation::runRasterKernel(), te::qt::widgets::ImageItem::setImagePosition(), te::qt::widgets::AnimationView::setMatrix(), te::layout::ParentItem< T >::setPixmap(), te::layout::Utils::textBoundingBox(), te::gdal::Raster::transform(), te::rst::Raster::transform(), te::layout::LegendModel::updateBox(), te::layout::ItemGroup::updateObserver(), te::layout::LegendItem::updateObserver(), te::layout::MapItem::updateObserver(), and te::layout::Utils::viewportBoxFromMM().
|
inline |
It initializes (sets) the envelope bounds.
llx | Lower left corner x-coordinate. |
lly | Lower left corner y-coordinate. |
urx | Upper right corner x-coordinate. |
ury | Upper right corner y-coordinate. |
Definition at line 381 of file Envelope.h.
References m_llx, m_lly, m_urx, and m_ury.
Referenced by Envelope(), makeInvalid(), and operator=().
It returns an envelope that represents the point set intersection with another envelope.
rhs | The other envelope whose intersection with this envelope will be calculated. |
Definition at line 543 of file Envelope.h.
References Envelope(), intersects(), m_llx, m_lly, m_urx, and m_ury.
Referenced by te::qt::widgets::FusionWizard::adjustRasters(), te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::wms::WMSLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), and te::qt::widgets::RasterNavigatorWidget::getExtentRaster().
|
inline |
It returns true if the envelopes "spatially intersects".
rhs | The other envelope to be compared. |
Definition at line 493 of file Envelope.h.
References m_llx, m_lly, m_urx, and m_ury.
Referenced by te::qt::widgets::FusionWizard::adjustRasters(), te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::wms::WMSLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::qt::widgets::ClippingWizard::executeExtentClipping(), te::qt::widgets::Selection::executeSelection(), te::qt::widgets::Info::getInfo(), intersection(), te::qt::af::MapDisplay::onApplicationTriggered(), te::qt::widgets::ROIManagerWidget::onPointPicked(), te::edit::PickFeature(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::remove2(), te::attributefill::VectorToVectorMemory::run(), and te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search().
|
inline |
It tells if the rectangle is valid or not.
Definition at line 438 of file Envelope.h.
References m_llx, m_lly, m_urx, and m_ury.
Referenced by te::qt::widgets::Zoom::applyZoom(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::checkList(), te::layout::ItemModelObservable::contains(), te::layout::GridGeodesicModel::draw(), te::layout::GridPlanarModel::draw(), te::wms::WMSLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::graph::LayerRenderer::draw(), te::edit::CreateLineTool::draw(), te::edit::CreatePolygonTool::draw(), te::edit::MoveGeometryTool::draw(), te::edit::VertexTool::draw(), te::map::DrawGeometries(), te::qt::widgets::PolygonAcquire::drawGeometry(), te::qt::widgets::Measure::drawGeometry(), te::wms::WMSLayerRenderer::drawRaster(), te::map::DrawRaster(), te::map::GetExtentRaster(), te::edit::Repository::getFeatures(), te::layout::Utils::getImageW(), te::edit::Snap::getSearchEnvelope(), te::layout::Utils::getTransformGeo(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::Index(), te::qt::widgets::ZoomLeftAndRightClick::mousePressEvent(), te::layout::ParentItem< T >::mouseReleaseEvent(), te::attributefill::VectorToRasterDialog::onColsLineEditEditingFinished(), te::qt::widgets::ClippingWizardPage::onEnvelopeAcquired(), te::qt::af::BaseApplication::onLayerFitSelectedOnMapDisplayTriggered(), te::qt::widgets::RasterNavigatorWidget::onMapDisplayExtentChanged(), te::qt::widgets::EyeBirdMapDisplayWidget::onParentMapDisplayExtentChanged(), te::qt::widgets::ZoomInMapDisplayWidget::onParentMapDisplayExtentChanged(), te::attributefill::VectorToRasterDialog::onResXLineEditEditingFinished(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::onResXLineEditEditingFinished(), te::attributefill::VectorToRasterDialog::onResYLineEditEditingFinished(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::onResYLineEditEditingFinished(), te::attributefill::VectorToRasterDialog::onRowsLineEditEditingFinished(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::onSrsToolButtonClicked(), te::layout::Utils::remapToPlanar(), te::rst::Reproject(), te::md::Save(), te::edit::SnapVertex::search(), te::layout::WorldTransformer::setTransformationParameters(), te::qt::widgets::TimeSliderWidget::TimeSliderWidget(), te::gdal::Raster::transform(), te::layout::ItemGroup::updateObserver(), te::layout::LegendItem::updateObserver(), te::layout::MapItem::updateObserver(), and te::layout::Utils::viewportBox().
|
inline |
It will invalidated the envelope.
Definition at line 430 of file Envelope.h.
References init().
Referenced by te::gm::CompoundCurve::computeMBR(), te::gm::GeometryCollection::computeMBR(), te::gm::CircularString::computeMBR(), te::gm::LineString::computeMBR(), te::gm::PolyhedralSurface::computeMBR(), te::gm::CurvePolygon::computeMBR(), and Envelope().
|
inline |
|
inline |
void te::gm::Envelope::transform | ( | int | oldsrid, |
int | newsrid | ||
) |
It will transform the coordinates of the Envelope from the old SRS to the new one.
After calling this method the Envelope will be associated to the new SRID.
oldsrid | The old Spatial Reference System. |
newsrid | The new Spatial Reference System used to transform the coordinates of the Envelope. |
Exception | It may throw an exception if it can not do the transformation. |
Definition at line 92 of file Envelope.cpp.
References TE_TR.
Referenced by te::qt::widgets::FusionWizard::adjustRasters(), te::qt::widgets::TimeSliderWidget::calculateAllSpatialExtent(), te::qt::widgets::MapDisplay::changeData(), te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::wms::WMSLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::rp::ArithmeticOperations::execBinaryOperatorRasterXRaster(), te::rp::SequenceMosaic::execute(), te::qt::widgets::Selection::executeSelection(), te::map::GetExtent(), te::qt::widgets::RasterNavigatorWidget::getExtentRaster(), te::qt::widgets::Info::getInfo(), te::qt::widgets::ImageItem::getRect(), te::map::GetSelectedExtent(), te::layout::MapModel::getWorldBox(), te::layout::MapModel::getWorldInDegrees(), te::layout::MapModel::getWorldInMeters(), te::qt::af::MapDisplay::onApplicationTriggered(), te::qt::widgets::TiePointLocatorWidget::onAutoAcquireTiePointsToolButtonClicked(), te::qt::af::BaseApplication::onLayerFitOnMapDisplayTriggered(), te::qt::widgets::ROIManagerWidget::onPointPicked(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::onSrsToolButtonClicked(), te::edit::PickFeature(), te::layout::Utils::remapToPlanar(), te::attributefill::VectorToVectorMemory::run(), and te::rst::Raster::transform().
|
inline |
It updates the envelop with coordinates of another envelope.
rhs | The other envelope whose coordinates will be used to update this one. |
Definition at line 555 of file Envelope.h.
References m_llx, m_lly, m_urx, and m_ury.
Referenced by te::qt::widgets::MapDisplay::changeData(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::combineRect(), computeDataSetEnvelope(), te::da::SpatialQueryProcessor::computeEnvelope(), DataSetAdapterLayerReader(), te::map::GetExtent(), and te::map::GetSelectedExtent().
|
inline |
double te::gm::Envelope::m_llx |
Lower left corner x-coordinate.
Definition at line 344 of file Envelope.h.
Referenced by te::ado::Transactor::add(), te::qt::widgets::MapDisplay::adjustExtent(), te::gm::AdjustToCut(), te::rp::FeederConstRasterDirectory::applyGeometryRestriction(), te::edit::Renderer::begin(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::build(), te::qt::widgets::Canvas::calcAspectRatio(), te::graph::BoxLoaderStrategy::calculateBox(), te::gm::CompoundCurve::computeMBR(), te::layout::View::config(), te::sa::GPMConstructorDistanceStrategy::constructStrategy(), contains(), te::ogr::Convert2OGR(), te::pgis::Convert2PostGIS(), te::cellspace::CellularSpacesOperations::createCellSpace(), te::layout::View::createImage(), disjoint(), distance(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::qt::widgets::TrajectoryItem::draw(), te::qt::widgets::Canvas::draw(), te::layout::ItemModelObservable::drawBackground(), te::qt::widgets::ZoomInMapDisplayWidget::drawCursorPosition(), te::qt::af::MapDisplay::drawDataSet(), te::qt::widgets::ClippingWizardPage::drawGeom(), te::qt::widgets::PolygonAcquire::drawGeometry(), te::qt::widgets::Measure::drawGeometry(), te::qt::widgets::Info::drawGeometry(), te::qt::widgets::MixtureModelWizardPage::drawMarks(), te::qt::widgets::RasterNavigatorWidget::drawRaster(), te::qt::widgets::ROIManagerWidget::drawROISet(), te::qt::widgets::TiePointLocatorWidget::drawTiePoints(), Envelope(), te::rp::GeoMosaic::execute(), te::rp::Register::execute(), te::rp::TiePointsMosaic::execute(), te::rp::TiePointsLocatorMoravecStrategy::executeMatchingByCorrelationThreadEntry(), te::rp::TiePointsLocatorSURFStrategy::executeMatchingByEuclideanDistThreadEntry(), te::layout::MapModel::generateSystematic(), te::wms::GetBBOXValues(), te::ogr::Transactor::getDataSet(), te::sqlite::DataSourceTransactor::getDataSet(), te::ado::Transactor::getDataSet(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::getEnvelope(), te::pgis::GetEnvelope(), te::qt::widgets::ClippingWizardPage::getExtentClipping(), te::gm::GetGeomFromEnvelope(), getLowerLeft(), getLowerLeftX(), te::sqlite::GetRtreeFilter(), te::edit::Snap::getSearchEnvelope(), getWidth(), te::rst::Grid::Grid(), te::sa::GridAdaptRadiusKernel(), te::sa::GridStatRadiusKernel(), init(), intersection(), intersects(), isValid(), te::qt::widgets::PanExtent::mouseMoveEvent(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::nearestNeighborSearch(), te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay1_extentChanged(), te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay2_extentChanged(), te::qt::widgets::MixtureModelDialog::on_mapDisplay_extentChanged(), te::qt::plugins::edit::ApplicationListener::onApplicationTriggered(), te::qt::af::MapDisplay::onApplicationTriggered(), te::attributefill::VectorToRasterDialog::onColsLineEditEditingFinished(), te::qt::af::BaseApplication::onLayerPanToSelectedOnMapDisplayTriggered(), te::qt::widgets::ZoomInMapDisplayWidget::onMapDisplayExtentChanged(), te::attributefill::VectorToRasterDialog::onResXLineEditEditingFinished(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::onResXLineEditEditingFinished(), te::qt::widgets::ROIManagerWidget::onROITreItemClicked(), operator=(), operator==(), te::qt::widgets::TrajectoryItem::paint(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::pickSeeds(), te::ogr::Transactor::query(), te::wfs::Transactor::query(), te::layout::View::resetView(), te::serialize::xml::SaveExtent(), te::sam::kdtree::Index< KdTreeNode >::search(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::search(), te::layout::PaperModel::setBox(), te::layout::MapModel::setBox(), te::qt::widgets::ImageItem::setImagePosition(), te::qt::widgets::AnimationView::setMatrix(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::showEnvelope(), touches(), Union(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::update(), te::ado::SQLVisitor::visit(), and within().
double te::gm::Envelope::m_lly |
Lower left corner y-coordinate.
Definition at line 345 of file Envelope.h.
Referenced by te::qt::widgets::MapDisplay::adjustExtent(), te::gm::AdjustToCut(), te::rp::FeederConstRasterDirectory::applyGeometryRestriction(), te::edit::Renderer::begin(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::build(), te::qt::widgets::Canvas::calcAspectRatio(), te::graph::BoxLoaderStrategy::calculateBox(), te::gm::CompoundCurve::computeMBR(), contains(), te::ogr::Convert2OGR(), te::pgis::Convert2PostGIS(), te::cellspace::CellularSpacesOperations::createCellSpace(), te::layout::View::createImage(), disjoint(), distance(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::qt::widgets::TrajectoryItem::draw(), te::qt::widgets::Canvas::draw(), te::ag::Canvas::draw(), te::layout::ItemModelObservable::drawBackground(), te::qt::widgets::ZoomInMapDisplayWidget::drawCursorPosition(), te::qt::af::MapDisplay::drawDataSet(), te::qt::widgets::ClippingWizardPage::drawGeom(), te::qt::widgets::PolygonAcquire::drawGeometry(), te::qt::widgets::Measure::drawGeometry(), te::qt::widgets::Info::drawGeometry(), te::qt::widgets::MixtureModelWizardPage::drawMarks(), te::qt::widgets::RasterNavigatorWidget::drawRaster(), te::qt::widgets::ROIManagerWidget::drawROISet(), te::qt::widgets::TiePointLocatorWidget::drawTiePoints(), Envelope(), te::rp::GeoMosaic::execute(), te::rp::Register::execute(), te::rp::TiePointsMosaic::execute(), te::rp::TiePointsLocatorMoravecStrategy::executeMatchingByCorrelationThreadEntry(), te::rp::TiePointsLocatorSURFStrategy::executeMatchingByEuclideanDistThreadEntry(), te::layout::MapModel::generateSystematic(), te::wms::GetBBOXValues(), te::ogr::Transactor::getDataSet(), te::sqlite::DataSourceTransactor::getDataSet(), te::ado::Transactor::getDataSet(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::getEnvelope(), te::pgis::GetEnvelope(), te::qt::widgets::ClippingWizardPage::getExtentClipping(), te::gm::GetGeomFromEnvelope(), getHeight(), getLowerLeft(), getLowerLeftY(), te::sqlite::GetRtreeFilter(), te::edit::Snap::getSearchEnvelope(), te::sa::GridAdaptRadiusKernel(), te::sa::GridStatRadiusKernel(), init(), intersection(), intersects(), isValid(), te::qt::widgets::PanExtent::mouseMoveEvent(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::nearestNeighborSearch(), te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay1_extentChanged(), te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay2_extentChanged(), te::qt::widgets::MixtureModelDialog::on_mapDisplay_extentChanged(), te::qt::plugins::edit::ApplicationListener::onApplicationTriggered(), te::qt::af::MapDisplay::onApplicationTriggered(), te::qt::af::BaseApplication::onLayerPanToSelectedOnMapDisplayTriggered(), te::qt::widgets::ZoomInMapDisplayWidget::onMapDisplayExtentChanged(), te::attributefill::VectorToRasterDialog::onResYLineEditEditingFinished(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::onResYLineEditEditingFinished(), te::qt::widgets::ROIManagerWidget::onROITreItemClicked(), te::attributefill::VectorToRasterDialog::onRowsLineEditEditingFinished(), operator=(), operator==(), te::qt::widgets::TrajectoryItem::paint(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::pickSeeds(), te::ogr::Transactor::query(), te::wfs::Transactor::query(), te::serialize::xml::SaveExtent(), te::sam::kdtree::Index< KdTreeNode >::search(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::search(), te::layout::PaperModel::setBox(), te::layout::MapModel::setBox(), te::qt::widgets::ImageItem::setImagePosition(), te::qt::widgets::AnimationView::setMatrix(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::showEnvelope(), touches(), Union(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::update(), te::ado::SQLVisitor::visit(), and within().
double te::gm::Envelope::m_urx |
Upper right corner x-coordinate.
Definition at line 346 of file Envelope.h.
Referenced by te::qt::widgets::MapDisplay::adjustExtent(), te::gm::AdjustToCut(), te::rp::FeederConstRasterDirectory::applyGeometryRestriction(), te::edit::Renderer::begin(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::build(), te::qt::widgets::Canvas::calcAspectRatio(), te::graph::BoxLoaderStrategy::calculateBox(), te::gm::CompoundCurve::computeMBR(), contains(), te::ogr::Convert2OGR(), te::pgis::Convert2PostGIS(), te::cellspace::CellularSpacesOperations::createCellSpace(), te::layout::View::createImage(), disjoint(), distance(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::qt::widgets::TrajectoryItem::draw(), te::layout::ItemModelObservable::drawBackground(), te::qt::widgets::ZoomInMapDisplayWidget::drawCursorPosition(), te::qt::af::MapDisplay::drawDataSet(), te::qt::widgets::ClippingWizardPage::drawGeom(), te::qt::widgets::PolygonAcquire::drawGeometry(), te::qt::widgets::Measure::drawGeometry(), te::qt::widgets::Info::drawGeometry(), te::qt::widgets::MixtureModelWizardPage::drawMarks(), te::qt::widgets::RasterNavigatorWidget::drawRaster(), te::qt::widgets::ROIManagerWidget::drawROISet(), te::qt::widgets::TiePointLocatorWidget::drawTiePoints(), Envelope(), te::rp::GeoMosaic::execute(), te::rp::Register::execute(), te::rp::TiePointsMosaic::execute(), te::rp::TiePointsLocatorMoravecStrategy::executeMatchingByCorrelationThreadEntry(), te::rp::TiePointsLocatorSURFStrategy::executeMatchingByEuclideanDistThreadEntry(), te::layout::MapModel::generateSystematic(), te::wms::GetBBOXValues(), te::ogr::Transactor::getDataSet(), te::sqlite::DataSourceTransactor::getDataSet(), te::ado::Transactor::getDataSet(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::getEnvelope(), te::pgis::GetEnvelope(), te::qt::widgets::ClippingWizardPage::getExtentClipping(), te::gm::GetGeomFromEnvelope(), te::sqlite::GetRtreeFilter(), te::edit::Snap::getSearchEnvelope(), getUpperRightX(), getWidth(), te::sa::GridAdaptRadiusKernel(), te::sa::GridStatRadiusKernel(), init(), intersection(), intersects(), isValid(), te::qt::widgets::PanExtent::mouseMoveEvent(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::nearestNeighborSearch(), te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay1_extentChanged(), te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay2_extentChanged(), te::qt::widgets::MixtureModelDialog::on_mapDisplay_extentChanged(), te::qt::plugins::edit::ApplicationListener::onApplicationTriggered(), te::qt::af::MapDisplay::onApplicationTriggered(), te::attributefill::VectorToRasterDialog::onColsLineEditEditingFinished(), te::qt::af::BaseApplication::onLayerPanToSelectedOnMapDisplayTriggered(), te::qt::widgets::ZoomInMapDisplayWidget::onMapDisplayExtentChanged(), te::attributefill::VectorToRasterDialog::onResXLineEditEditingFinished(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::onResXLineEditEditingFinished(), te::qt::widgets::ROIManagerWidget::onROITreItemClicked(), operator=(), operator==(), te::qt::widgets::TrajectoryItem::paint(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::pickSeeds(), te::ogr::Transactor::query(), te::wfs::Transactor::query(), te::layout::GridMapItem::recalculateBoundingRect(), te::layout::MapItem::recalculateBoundingRect(), te::serialize::xml::SaveExtent(), te::sam::kdtree::Index< KdTreeNode >::search(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::search(), te::layout::MapModel::setBox(), te::qt::widgets::AnimationView::setMatrix(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::showEnvelope(), touches(), Union(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::update(), te::ado::SQLVisitor::visit(), and within().
double te::gm::Envelope::m_ury |
Upper right corner y-coordinate.
Definition at line 347 of file Envelope.h.
Referenced by te::qt::widgets::MapDisplay::adjustExtent(), te::gm::AdjustToCut(), te::rp::FeederConstRasterDirectory::applyGeometryRestriction(), te::edit::Renderer::begin(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::build(), te::qt::widgets::Canvas::calcAspectRatio(), te::graph::BoxLoaderStrategy::calculateBox(), te::gm::CompoundCurve::computeMBR(), te::layout::View::config(), contains(), te::ogr::Convert2OGR(), te::pgis::Convert2PostGIS(), te::cellspace::CellularSpacesOperations::createCellSpace(), te::layout::View::createImage(), disjoint(), distance(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::qt::widgets::TrajectoryItem::draw(), te::ag::Canvas::draw(), te::qt::widgets::ZoomInMapDisplayWidget::drawCursorPosition(), te::qt::af::MapDisplay::drawDataSet(), te::qt::widgets::ClippingWizardPage::drawGeom(), te::qt::widgets::PolygonAcquire::drawGeometry(), te::qt::widgets::Measure::drawGeometry(), te::qt::widgets::Info::drawGeometry(), te::layout::LegendModel::drawGroupingLegend(), te::layout::LegendChildModel::drawLegend(), te::qt::widgets::MixtureModelWizardPage::drawMarks(), te::qt::widgets::RasterNavigatorWidget::drawRaster(), te::qt::widgets::ROIManagerWidget::drawROISet(), te::layout::LegendModel::drawStyleLegend(), te::qt::widgets::TiePointLocatorWidget::drawTiePoints(), Envelope(), te::rp::GeoMosaic::execute(), te::rp::Register::execute(), te::rp::TiePointsMosaic::execute(), te::rp::TiePointsLocatorMoravecStrategy::executeMatchingByCorrelationThreadEntry(), te::rp::TiePointsLocatorSURFStrategy::executeMatchingByEuclideanDistThreadEntry(), te::layout::MapModel::generateSystematic(), te::wms::GetBBOXValues(), te::ogr::Transactor::getDataSet(), te::sqlite::DataSourceTransactor::getDataSet(), te::ado::Transactor::getDataSet(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::getEnvelope(), te::pgis::GetEnvelope(), te::qt::widgets::ClippingWizardPage::getExtentClipping(), te::gm::GetGeomFromEnvelope(), getHeight(), te::sqlite::GetRtreeFilter(), te::edit::Snap::getSearchEnvelope(), getUpperRightY(), te::rst::Grid::Grid(), te::sa::GridAdaptRadiusKernel(), te::sa::GridStatRadiusKernel(), init(), intersection(), intersects(), isValid(), te::qt::widgets::PanExtent::mouseMoveEvent(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::nearestNeighborSearch(), te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay1_extentChanged(), te::qt::widgets::TiePointsLocatorDialog::on_mapDisplay2_extentChanged(), te::qt::widgets::MixtureModelDialog::on_mapDisplay_extentChanged(), te::qt::plugins::edit::ApplicationListener::onApplicationTriggered(), te::qt::af::MapDisplay::onApplicationTriggered(), te::qt::af::BaseApplication::onLayerPanToSelectedOnMapDisplayTriggered(), te::qt::widgets::ZoomInMapDisplayWidget::onMapDisplayExtentChanged(), te::attributefill::VectorToRasterDialog::onResYLineEditEditingFinished(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::onResYLineEditEditingFinished(), te::qt::widgets::ROIManagerWidget::onROITreItemClicked(), te::attributefill::VectorToRasterDialog::onRowsLineEditEditingFinished(), operator=(), operator==(), te::qt::widgets::TrajectoryItem::paint(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::pickSeeds(), te::ogr::Transactor::query(), te::wfs::Transactor::query(), te::layout::View::resetView(), te::serialize::xml::SaveExtent(), te::sam::kdtree::Index< KdTreeNode >::search(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::search(), te::layout::MapModel::setBox(), te::qt::widgets::AnimationView::setMatrix(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::showEnvelope(), touches(), Union(), te::sam::kdtree::AdaptativeIndex< KdTreeNode >::update(), te::ado::SQLVisitor::visit(), and within().