26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_GEOMETRYFACTORY_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_GEOMETRYFACTORY_H
30 #include "../common/Static.h"
84 return new Point(t, srid, 0);
96 return new Polygon(0, t, srid, 0);
138 return new TIN(0, t, srid, 0);
It is a collection of other geometric objects.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
LineString is a curve with linear interpolation between points.
MultiLineString is a MultiCurve whose elements are LineStrings.
MultiPoint is a GeometryCollection whose elements are restricted to points.
MultiPolygon is a MultiSurface whose elements are Polygons.
A point with x and y coordinate values.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
PolyhedralSurface is a contiguous collection of polygons, which share common boundary segments.
TIN (triangulated irregular network) is a PolyhedralSurface consisting only of Triangle patches.
Triangle is a polygon with 3 distinct, non-collinear vertices and no interior boundary.
A base type for static classes.
It is a collection of other geometric objects.
This is the Geometry factory for TerraLib geometries.
static Geometry * make(GeomType t, int srid)
It returns an instance according to the informed geometry type.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
LineString is a curve with linear interpolation between points.
MultiLineString is a MultiCurve whose elements are LineStrings.
MultiPoint is a GeometryCollection whose elements are restricted to points.
MultiPolygon is a MultiSurface whose elements are Polygons.
MultiSurface is a class that represents a 2-dimensional GeometryCollection whose elements are surface...
A point with x and y coordinate values.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
PolyhedralSurface is a contiguous collection of polygons, which share common boundary segments.
Triangle is a polygon with 3 distinct, non-collinear vertices and no interior boundary.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
@ GeometryCollectionMType
@ PolyhedralSurfaceZMType
@ GeometryCollectionZType
@ GeometryCollectionZMType
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.