26 #ifndef __TERRALIB_VP_INTERNAL_COMMONFUNCTIONS_H 27 #define __TERRALIB_VP_INTERNAL_COMMONFUNCTIONS_H 32 #include "../geometry/CommonDataStructures.h" 33 #include "../geometry/Enums.h" 107 #endif //__TERRALIB_VP_INTERNAL_COMMONFUNCTIONS_H TEVPEXPORT void Multi2Single(const te::vp::Feature *feature, te::vp::FeatureSet &singleFeatureSet)
Splits all the features that have geometry collections in to features that have single type geometrie...
std::vector< te::gm::Geometry * > GeometryVector
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
SpatialRelation
Spatial relations between geometric objects.
TEVPEXPORT te::gm::GeometryVector AdjustToGeomType(const te::gm::Geometry *geometry, te::gm::GeomType geomType)
Adjust the given geometry to the given geometry type. If the conversion is not possible, the geometry is discarded.
An alias for a set of Features.
An Envelope defines a 2D rectangular region.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
TEVPEXPORT void DiscardFeaturesWithNullAndEmptyGeometries(te::vp::FeatureSet &featureSet)
Splits all feature that have geometry collections in to features that have single type geometries...
TEVPEXPORT void GetAllSegments(const te::gm::Geometry *geometry, const te::gm::Envelope &filter, std::vector< SegmentInfo > &vecSegmentInfo)
Gets the segment information related to all segments from the given geometry. An Optional filter can ...
Configuration flags for the Terrralib Vector Processing module.
TEVPEXPORT te::gm::SpatialRelation FastRelationCalculator(const te::vp::GeometryInfo *geometryInfoA, const te::vp::GeometryInfo *geometryInfoB)
Algorithm to fast detection of spatial relations between geometries. Very useful to fase dectect if t...
A feature is a composition of a geometry and its attributes.