Go to the documentation of this file.
   26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_VALIDATION_REMOVECOLLAPSEDSEGMENTS_H 
   27 #define __TERRALIB_GEOMETRY_INTERNAL_VALIDATION_REMOVECOLLAPSEDSEGMENTS_H 
   32 #include "../CommonDataStructures.h" 
   33 #include "../Config.h" 
   69 #endif  // __TERRALIB_GEOMETRY_INTERNAL_VALIDATION_REMOVECOLLAPSEDSEGMENTS_H 
  
 
std::vector< te::gm::Coord2D > VecCoords
 
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.
 
std::vector< VecCoords > VecFragments
 
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
An abstract class to represent an algorithm that validates an geometry.
 
RemoveCollapsedSegments()=default
 
bool removeCollapsedSegmentsAndGetFragments(const te::gm::LineString *lineString, VecFragments &fragments) const
 
virtual ~RemoveCollapsedSegments()=default
 
LineString is a curve with linear interpolation between points.
 
VecCoords joinFragments(const VecFragments &vecFragments) const
 
An abstract class to represent an algorithm that validates an geometry.
 
std::map< te::gm::Coord2D, VecFragments > MapFragments