All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
geometry.h
Go to the documentation of this file.
1 /* Copyright (C) 2001-2009 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file geometry.h
22 
23  \brief This file contains include headers for the Vector Geometry model of TerraLib.
24  */
25 
26 #ifndef __TERRALIB_INTERNAL_GEOMETRY_H
27 #define __TERRALIB_INTERNAL_GEOMETRY_H
28 
29 // TerraLib
30 #include "geometry/AbstractPoint.h"
32 #include "geometry/CompoundCurve.h"
33 #include "geometry/Config.h"
34 #include "geometry/Coord2D.h"
35 #include "geometry/Curve.h"
36 #include "geometry/CurvePolygon.h"
37 #include "geometry/Enums.h"
38 #include "geometry/Envelope.h"
39 #include "geometry/Exception.h"
40 #include "geometry/Geometry.h"
44 #include "geometry/GEOSReader.h"
45 #include "geometry/GEOSWriter.h"
46 #include "geometry/Line.h"
47 #include "geometry/LinearRing.h"
48 #include "geometry/LineString.h"
49 #include "geometry/MultiCurve.h"
51 #include "geometry/MultiPoint.h"
52 #include "geometry/MultiPolygon.h"
53 #include "geometry/MultiSurface.h"
54 #include "geometry/Point.h"
55 #include "geometry/PointKd.h"
56 #include "geometry/PointM.h"
57 #include "geometry/PointZ.h"
58 #include "geometry/PointZM.h"
59 #include "geometry/Polygon.h"
61 #include "geometry/Surface.h"
62 #include "geometry/TIN.h"
63 #include "geometry/Triangle.h"
64 #include "geometry/Utils.h"
65 #include "geometry/Visitor.h"
66 #include "geometry/WKBReader.h"
67 #include "geometry/WKBSize.h"
68 #include "geometry/WKBWriter.h"
69 #include "geometry/WKTReader.h"
70 #include "geometry/WKTWriter.h"
71 
72 /*!
73  \defgroup geometry Geometry
74 
75  \brief This module implements the vector geometry support of TerraLib.
76 
77  The vector geometry module of TerraLib is OGC compliant.
78  So, the majority documentation of this module was extracted from
79  the Open Geospatial Consortium specification called
80  Simple Feature Specification - Part 1: Common Architecture.
81  This specification can be accessed at: http://www.opengeospatial.org/standards/sfa.
82 
83  It is important to notice that this module refers to a geometry model to be used in main memory
84  and it doesn't assume any kind of persistence or data storage management.
85 
86  Basically, the geometry module is responsible for providing:
87 
88  <ul>
89  <li>The primitive geometric objects like points, lines and polygons;</li>
90  <li>Homogeneous and heterogeneous collections of geometries;</li>
91  <li>Curved geometries;</li>
92  <li>Polyhedral surfaces and Triangular Irregular Networks (TIN);</li>
93  <li>Spatial operations: topological relationship tests, metric, set operations;</li>
94  <li>Serialization routines for common data formats: WKB, WKT, ...</li>
95  </ul>
96 
97  The main classes/concepts in this module are listed here. The namespace associated to the Geometry module is te::gm.
98  To know more about it, see the te::gm namespace documentation.
99 */
100 
101 namespace te
102 {
103  /*!
104  \brief Namespace for the Vector Geometry module of TerraLib.
105  */
106  namespace gm
107  {
108  } // end namespace gm
109 } // end namespace te
110 
111 #endif // __TERRALIB_INTERNAL_GEOMETRY_H
112 
A base abstract class for 0-dimensional geometric objects that represents a single location in coordi...
A Line is LineString with 2 points.
A LinearRing is a LineString that is both closed and simple.
CircularString is a curve with circular interpolation between points.
CompoundCurve is a curve that may have circular and linear segments.
A point with x and y coordinate values.
PolyhedralSurface is a contiguous collection of polygons, which share common boundary segments...
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
MultiPoint is a GeometryCollection whose elements are restricted to points.
A class that serializes a geometry to the WKB format.
An Envelope defines a 2D rectangular region.
Enumerations related to Geometry module.
Triangle is a polygon with 3 distinct, non-collinear vertices and no interior boundary.
CurvePolygon is a planar surface defined by 1 exterior boundary and 0 or more interior boundaries...
MultiLineString is a MultiCurve whose elements are LineStrings.
Surface is an abstract class that represents a 2-dimensional geometric objects.
Geometric property.
MultiPolygon is a MultiSurface whose elements are Polygons.
MultiCurve is a class that represents a 1-dimensional GeometryCollection whose elements are curves...
Utility functions for the Geometry Module.
A class that converts a GEOS geometry to a TerraLib geometry.
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
A class that converts a TerraLib geometry to a GEOS geometry.
An exception class for the Geometry module.
TIN (triangulated irregular network) is a PolyhedralSurface consisting only of Triangle patches...
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
A class that deserializes a geometry from a valid WKB.
A class that computes the number of bytes necessary to encode a geometry in WKB.
LineString is a curve with linear interpolation between points.
MultiSurface is a class that represents a 2-dimensional GeometryCollection whose elements are surface...
Configuration flags for the Vector Geometry Model of TerraLib.
A point with z-coordinate value.
A point with a z-coordinate value and an associated measurement.
An utility struct for representing 2D coordinates.
A point with an associated measure.
This is the Geometry factory for TerraLib geometries.
A class that serializes a geometry to the WKT format.
A visitor interface for the Geometry hierarchy.
A class that deserializes a geometry from a valid WKT.
It is a collection of other geometric objects.
A k-dimensional point.