26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_VALIDATION_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_VALIDATION_H
An utility struct for representing 2D coordinates.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
static bool CheckValidity(const Geometry *geom, te::gm::TopologyValidationError &error)
It check geometry validity using GEOS.
static te::gm::GeometryPtr MakeValidTerralib(const te::gm::Geometry *geometry, std::string &errorMessage)
Apply several fixes to a geometry to ensure that it will be made valid. New implementations must call...
static te::gm::GeometryPtr MakeValid(const te::gm::Geometry *geometry)
static te::gm::GeometryPtr MakeValid(const te::gm::Geometry *geometry, std::string &errorMessage)
static te::gm::GeometryPtr SnapToSelf(const te::gm::Geometry *geometry)
static te::gm::GeometryPtr MakeValidGeos(const te::gm::Geometry *geometry, std::string &errorMessage)
static te::gm::Geometry * Validate(te::gm::Geometry *geom)
Get/create a valid version of the geometry given. If the geometry is a polygon or multi polygon,...
static te::gm::GeometryPtr SnapToSelf(const te::gm::Geometry *geometry, double tolerance, bool cleanResult)
static te::gm::GeometryPtr MakeValidWithSnap(const te::gm::Geometry *geometry)
An utility struct for representing 2D coordinates.
This struct contains informations about GEOS TopologyValidationError.
#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).