26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_WKTWRITER_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_WKTWRITER_H
36 #include <boost/noncopyable.hpp>
CircularString is a curve with circular interpolation between points.
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.
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
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.
A LinearRing is a LineString that is both closed and simple.
MultiCurve is a class that represents a 1-dimensional GeometryCollection whose elements are curves.
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.
Surface is an abstract class that represents a 2-dimensional geometric objects.
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 visitor interface for the Geometry hierarchy.
A class that serializes a geometry to the WKT format.
void visit(const TIN &visited)
void visit(const MultiPoint &visited)
virtual void visit(const Curve &)
bool m_tagged
This flag controls how geometry are write to the output stream.
void visit(const LineString &visited)
void visit(const Point &visited)
virtual void visit(const MultiSurface &)
void visit(const CircularString &)
virtual void visit(const MultiCurve &)
void visit(const Polygon &visited)
void visit(const CurvePolygon &)
virtual void visit(const Surface &)
void write(const Geometry *geom)
It serializes the geometry to a WKT representation.
void visit(const PolyhedralSurface &visited)
void visit(const LinearRing &visited)
static void write(const Geometry &geom, std::ostream &o)
It serializes the geometry to a WKT representation.
void visit(const MultiPolygon &visited)
std::ostream & m_ostream
The output stream used to serialize the geometry to WKT.
void visit(const GeometryCollection &visited)
void visit(const CompoundCurve &)
void visit(const MultiLineString &visited)
virtual void visit(const Geometry &)
void visit(const Triangle &visited)
void write(const Geometry &geom)
It serializes the geometry to a WKT representation.
static void write(const Geometry *geom, std::ostream &o)
It serializes the geometry to a WKT representation.
WKTWriter(std::ostream &o)
It constructs a new WKT writer.
A visitor interface for the SymbologyEncoding hierarchy.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.