26 #ifndef __TERRALIB_VP_INTERNAL_COMMONFUNCTIONS_H
27 #define __TERRALIB_VP_INTERNAL_COMMONFUNCTIONS_H
32 #include "../geometry/CommonDataStructures.h"
33 #include "../geometry/Enums.h"
An Envelope defines a 2D rectangular region.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
An alias for a set of Features.
A feature is a composition of a geometry and its attributes.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
SpatialRelation
Spatial relations between geometric objects.
std::vector< te::gm::Geometry * > GeometryVector
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,...
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 ...
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...
TEVPEXPORT void DiscardFeaturesWithNullAndEmptyGeometries(te::vp::FeatureSet &featureSet)
Splits all feature that have geometry collections in to features that have single type geometries....
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...
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).