Utils.h File Reference

Utility functions for TerraLib Edit module. More...

#include "../maptools/AbstractLayer.h"
#include "Config.h"
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  te::edit::VertexIndex
 

Namespaces

 te
 URI C++ Library.
 
 te::da
 Namespace for the DataAccess API of TerraLib.
 
 te::edit
 
 te::gm
 Namespace for the Vector Geometry module of TerraLib.
 

Enumerations

enum  te::edit::OperationType {
  te::edit::GEOMETRY_CREATE, te::edit::GEOMETRY_UPDATE, te::edit::GEOMETRY_DELETE, te::edit::GEOMETRY_UPDATE_ATTRIBUTES,
  te::edit::NumberOfOperationTypes
}
 

Functions

TEEDITEXPORT void te::edit::AddVertex (std::vector< te::gm::LineString * > &lines, const double &x, const double &y, const te::gm::Envelope &env, int srid)
 
TEEDITEXPORT VertexIndex te::edit::FindSegment (std::vector< te::gm::LineString * > &lines, const te::gm::Envelope &env, int srid)
 
TEEDITEXPORT te::da::ObjectIdte::edit::GenerateId ()
 
TEEDITEXPORT void te::edit::GetCoordinates (te::gm::Geometry *geom, std::vector< te::gm::Coord2D > &coords)
 
TEEDITEXPORT double te::edit::GetDistance (const te::gm::Coord2D &c1, const te::gm::Coord2D &c2)
 
TEEDITEXPORT void te::edit::GetLines (te::gm::Geometry *geom, std::vector< te::gm::LineString * > &lines)
 
TEEDITEXPORT void te::edit::GetLines (te::gm::GeometryCollection *gc, std::vector< te::gm::LineString * > &lines)
 
TEEDITEXPORT void te::edit::GetLines (te::gm::Polygon *p, std::vector< te::gm::LineString * > &lines)
 
TEEDITEXPORT void te::edit::GetLines (te::gm::LineString *l, std::vector< te::gm::LineString * > &lines)
 
TEEDITEXPORT bool te::edit::IsSpecialRingVertex (te::gm::LineString *l, const VertexIndex &index)
 
TEEDITEXPORT void te::edit::MoveGeometry (te::gm::Geometry *geom, const double &deltax, const double &deltay)
 
TEEDITEXPORT void te::edit::MoveVertex (std::vector< te::gm::LineString * > &lines, const VertexIndex &index, const double &x, const double &y)
 
TEEDITEXPORT Feature * te::edit::PickFeature (const te::map::AbstractLayerPtr &layer, const te::gm::Envelope &env, int srid, OperationType operation)
 
TEEDITEXPORT Feature * te::edit::PickFeature (const te::map::AbstractLayer *layer, const te::gm::Envelope &env, int srid, OperationType operation)
 
TEEDITEXPORT void te::edit::RemoveVertex (std::vector< te::gm::LineString * > &lines, const VertexIndex &index)
 
TEEDITEXPORT void te::edit::TrySnap (te::gm::Coord2D &coord, int srid)
 

Detailed Description

Utility functions for TerraLib Edit module.

Definition in file Utils.h.