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