Go to the documentation of this file.
26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_GEOMETRYSUBDIVIDER_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_GEOMETRYSUBDIVIDER_H
30 #include "../Config.h"
32 #include "../CommonDataStructures.h"
123 #endif // __TERRALIB_GEOMETRY_INTERNAL_GEOMETRYSUBDIVIDER_H
This class contains functions to help subdivide a geometry into small parts.
An Envelope defines a 2D rectangular region.
static te::gm::GeometryPtr subdivideByClippingImpl(const te::gm::Geometry *geometry, const te::gm::Envelope &envelope)
static te::gm::GeometryVector subdivideByCellTillingImpl(const te::gm::Geometry *geometry, const te::gm::CellTilling &cellTilling, std::vector< ColumnRow > &vecColumnRow)
static te::gm::GeometryPtr subdivideByClipping(const te::gm::Geometry *geometry, const te::gm::Envelope &envelope)
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
static te::gm::GeometryVector subdivideByMaxCoordinatesImpl(const te::gm::Geometry *geometry, const te::gm::Envelope &envelope, std::size_t maxCoordinates)
Subdivides the given geometry recursivelly using its envelope spplited in 4 parts until all the subpa...
std::vector< te::gm::Geometry * > GeometryVector
static te::gm::GeometryVector subdivideByCellTilling(const te::gm::Geometry *geometry, const te::gm::CellTilling &cellTilling, std::vector< ColumnRow > &vecColumnRow)
ColumnRow(std::size_t column, std::size_t row)
Algorithm to help controlling creating and iterating in a tile.
static te::gm::GeometryVector fixNoding(const te::gm::GeometryVector &vecGeometries)
static te::gm::GeometryVector subdivideByMaxCoordinatesImpl(const te::gm::Geometry *geometry, std::size_t maxCoordinates)
Subdivides the given geometry recursivelly using its envelope spplited in 4 parts until all the subpa...
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
static te::gm::GeometryVector subdivideByMaxCoordinates(const te::gm::Geometry *geometry, std::size_t maxCoordinates)
Subdivides the given geometry recursivelly using its envelope spplited in 4 parts until all the subpa...
static te::gm::Geometry * fixNoding(const te::gm::Geometry *geometry)
GeometrySubdivider()
Constructor.
virtual ~GeometrySubdivider()
Destructor.