25 #ifndef __TERRALIB_GEOMETRY_INTERNAL_COORDINATESNAPPER_H
26 #define __TERRALIB_GEOMETRY_INTERNAL_COORDINATESNAPPER_H
34 struct CoordIndexInternal;
35 struct CoordIndexData;
Algorithm to snap existing "close" coordinates to each other based uppon a given tolerance,...
static te::gm::Geometry * snapCoordinates(const te::gm::Geometry *geometry, double distance, CoordIndex &coordIndex, bool &wasChanged)
Snaps the geometry coordinates to the existing clusters in the coordinate index.
static te::gm::GeometryVector snapCoordinates(const te::gm::GeometryVectorConst &vecGeometries, double distance, bool validateResult=true)
Algorithm to snap existing "close" coordinates to each other based uppon a given tolerance,...
static te::gm::GeometryPtr snapCoordinates(const te::gm::Geometry *geometry, double distance, bool validateResult=true)
Algorithm to snap existing "close" coordinates to each other based uppon a given tolerance,...
static void populateCoordIndex(const te::gm::Geometry *geometry, CoordIndex &coordIndex)
Populates the coordinate index considering the coordinates of the given geometry.
static void populateCoordIndex(const te::gm::GeometryVectorConst &vecGeometries, CoordIndex &coordIndex)
Populates the coordinate index considering the coordinates of the given geometry vector.
static void snapToClusters(double distance, CoordIndex &coordIndex)
Analyses all the coordinates in the coordinate index, detecting clusters and the snapping them to eac...
static te::gm::GeometryVector snapCoordinates(const te::gm::GeometryVectorConst &vecGeometries, double distance, bool validateResult, CoordIndex &coordIndex)
Snaps the geometries coordinates to the existing clusters in the coordinate index.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::vector< te::gm::Geometry * > GeometryVector
std::vector< const te::gm::Geometry * > GeometryVectorConst
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).
Utility classes, structures and definitions for Vector Processing.