26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_WKTWRITER_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_WKTWRITER_H
36 #include <boost/noncopyable.hpp>
92 static void write(
const Geometry* geom, std::ostream& o);
100 static void write(
const Geometry& geom, std::ostream& o);
115 void visit(
const Point& visited);
116 void visit(
const PointM& visited);
117 void visit(
const PointZ& visited);
118 void visit(
const PointZM& visited);
120 void visit(
const Polygon& visited);
123 void visit(
const TIN& visited);
124 void visit(
const Triangle& visited);
138 #endif // __TERRALIB_GEOMETRY_INTERNAL_WKTWRITER_H
MultiLineString is a MultiCurve whose elements are LineStrings.
virtual void visit(const Curve &)
void visit(const CurvePolygon &)
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
MultiSurface is a class that represents a 2-dimensional GeometryCollection whose elements are surface...
A visitor interface for the Geometry hierarchy.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
virtual void visit(const MultiCurve &)
void visit(const CompoundCurve &)
A LinearRing is a LineString that is both closed and simple.
A point with z-coordinate value.
CurvePolygon is a planar surface defined by 1 exterior boundary and 0 or more interior boundaries...
virtual void visit(const Geometry &)
TIN (triangulated irregular network) is a PolyhedralSurface consisting only of Triangle patches...
A base abstract class for 0-dimensional geometric objects that represents a single location in coordi...
A point with a z-coordinate value and an associated measurement.
MultiCurve is a class that represents a 1-dimensional GeometryCollection whose elements are curves...
LineString is a curve with linear interpolation between points.
CircularString is a curve with circular interpolation between points.
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
void visit(const PointKd &)
MultiPolygon is a MultiSurface whose elements are Polygons.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
A class that serializes a geometry to the WKT format.
virtual void visit(const MultiSurface &)
A point with x and y coordinate values.
CompoundCurve is a curve that may have circular and linear segments.
A point with an associated measure.
virtual void visit(const Surface &)
It is a collection of other geometric objects.
PolyhedralSurface is a contiguous collection of polygons, which share common boundary segments...
void visit(const CircularString &)
bool m_tagged
This flag controls how geometry are write to the output stream.
void visit(const AbstractPoint &)
MultiPoint is a GeometryCollection whose elements are restricted to points.
Triangle is a polygon with 3 distinct, non-collinear vertices and no interior boundary.
std::ostream & m_ostream
The output stream used to serialize the geometry to WKT.
A visitor interface for the Geometry hierarchy.
Surface is an abstract class that represents a 2-dimensional geometric objects.