26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_GEOMUTILS_H 
   27 #define __TERRALIB_GEOMETRY_INTERNAL_GEOMUTILS_H 
  111     template<
class T1, 
class T2> 
bool Intersects(
const T1& o1, 
const T2& o2);
 
  141 #endif  // __TERRALIB_GEOMETRY_INTERNAL_GEOMUTILS_H 
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code. 
 
TEGEOMEXPORT Geometry * GetGeomFromEnvelope(const Envelope *const e, int srid)
It creates a Geometry (a polygon) from the given envelope. 
 
SpatialRelation
Spatial relations between geometric objects. 
 
int GetCoordDimension(GeomType t)
It returns the number of measurements or axes needed to describe a position in a coordinate system...
 
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
TEGEOMEXPORT Envelope AdjustToCut(const Envelope &env, double bWidth, double bHeight)
Finds the correspondent smallest box that allows a box to be cut in blocks of a given size...
 
Enumerations related to Geometry module. 
 
A point with x and y coordinate values. 
 
An Envelope defines a 2D rectangular region. 
 
TEGEOMEXPORT bool SatisfySpatialRelation(const Geometry *g1, const Geometry *g2, SpatialRelation relation)
It returns if two geometries satisfy a given spatial relation. 
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards. 
 
bool Intersects(const T1 &o1, const T2 &o2)
 
TEGEOMEXPORT void Multi2Single(te::gm::Geometry *g, std::vector< te::gm::Geometry * > &geoms)
It will get a GeometryCollection and distribute in a vector. 
 
TEGEOMEXPORT Coord2D * locateAlong(const LineString *line, double initial, double final, double target)
Make the line interpolation to find a target. 
 
Configuration flags for the Vector Geometry Model of TerraLib.