All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
PolyhedralSurface is a contiguous collection of polygons, which share common boundary segments...
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
MultiSurface is a class that represents a 2-dimensional GeometryCollection whose elements are surface...
Triangle is a polygon with 3 distinct, non-collinear vertices and no interior boundary.
A visitor interface for the Geometry hierarchy.
This is the Geometry factory for TerraLib geometries.
A class that serializes a geometry to the WKB format.
An exception class for the Geometry module.
A LinearRing is a LineString that is both closed and simple.
A class that converts a TerraLib geometry to a GEOS geometry.
CircularString is a curve with circular interpolation between points.
It is a collection of other geometric objects.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
An utility struct for representing 2D coordinates.
A point with z-coordinate value.
MultiPoint is a GeometryCollection whose elements are restricted to points.
Enumerations related to Geometry module.
Utility functions for the Geometry Module.
Geometric property.
A base abstract class for 0-dimensional geometric objects that represents a single location in coordi...
A k-dimensional point.
A point with x and y coordinate values.
A class that deserializes a geometry from a valid WKB.
LineString is a curve with linear interpolation between points.
A point with a z-coordinate value and an associated measurement.
TIN (triangulated irregular network) is a PolyhedralSurface consisting only of Triangle patches...
Configuration flags for the Vector Geometry Model of TerraLib.
CompoundCurve is a curve that may have circular and linear segments.
CurvePolygon is a planar surface defined by 1 exterior boundary and 0 or more interior boundaries...
A class that serializes a geometry to the WKT format.
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
A class that computes the number of bytes necessary to encode a geometry in WKB.
MultiPolygon is a MultiSurface whose elements are Polygons.
A Line is LineString with 2 points.
An Envelope defines a 2D rectangular region.
A class that converts a GEOS geometry to a TerraLib geometry.
A point with an associated measure.
MultiLineString is a MultiCurve whose elements are LineStrings.
MultiCurve is a class that represents a 1-dimensional GeometryCollection whose elements are curves...
Surface is an abstract class that represents a 2-dimensional geometric objects.
A class that deserializes a geometry from a valid WKT.