Go to the documentation of this file.
26 #ifndef __TERRALIB_EDIT_INTERNAL_SNAPVERTEX_H
27 #define __TERRALIB_EDIT_INTERNAL_SNAPVERTEX_H
30 #include "../sam/rtree/Index.h"
76 #endif // __TERRALIB_EDIT_INTERNAL_SNAPVERTEX_H
An Envelope defines a 2D rectangular region.
te::sam::rtree::Index< std::size_t, 8 > m_rtree
Internal index used to retrieve geometries spatially.
This class implements geometry snap concept.
void add(te::gm::Geometry *geom)
This class implements a vertex search snap.
#define TE_UNKNOWN_SRS
A numeric value to represent a unknown SRS identification in TerraLib.
#define TEEDITEXPORT
You can use this macro in order to export/import classes and functions from this module.
static Snap * Builder(const std::string &source, int srid)
This class implements geometry snap concept.
std::string getName() const
bool search(const te::gm::Envelope &e, te::gm::Coord2D &result)
An utility struct for representing 2D coordinates.
std::vector< te::gm::Coord2D > m_coords
The snap coordinates.
std::string getDescription() const
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
SnapVertex(const std::string &source, int srid=TE_UNKNOWN_SRS)