26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_VALIDATION_ADDPROJECTEDCOORDINATES_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_VALIDATION_ADDPROJECTEDCOORDINATES_H
32 #include "../CommonDataStructures.h"
33 #include "../Config.h"
An abstract class to represent an algorithm that validates an geometry.
An abstract class to represent an algorithm that validates an geometry.
std::unique_ptr< te::gm::KdTreeSingle > m_coordinateIndex
std::vector< te::gm::Coord2D > getIntermediateProjectedCoordinates(const te::gm::Coord2D &c1, const te::gm::Coord2D &c2, const te::gm::KdTreeSingle &spatialIndex, double distance) const
virtual te::gm::GeometryPtr validateLine(const te::gm::LineString *lineString, bool &wasChanged) const override
Validates a line, an returns additional variable to inform if the geometry has been changed or not.
virtual te::gm::GeometryPtr validate(const te::gm::Geometry *geometry, bool &wasChanged) const override
Validates a geometry, an returns additional variable to inform if the geometry has been changed or no...
virtual ~AddProjectedCoordinates()=default
AddProjectedCoordinates()
void setCoordinateIndex(KdTreeSingle *coordinateIndex)
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
LineString is a curve with linear interpolation between points.
A class that represents a two dimensional K-d Tree (2-d Tree).
An utility struct for representing 2D coordinates.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.