29 #ifndef __TERRALIB_GEOMETRY_INTERNAL_WKTACTIONS_H
30 #define __TERRALIB_GEOMETRY_INTERNAL_WKTACTIONS_H
36 #include <boost/spirit/include/qi.hpp>
47 class PolyhedralSurface;
84 void createPoint(
const boost::fusion::vector2<double, double>& c);
86 void createPointZ(
const boost::fusion::vector3<double, double, double>& c);
88 void createPointM(
const boost::fusion::vector3<double, double, double>& c);
90 void createPointZM(
const boost::fusion::vector4<double, double, double, double>& c);
238 #endif // __TERRALIB_GEOMETRY_INTERNAL_WKTACTIONS_H
void reset()
This method resets the Action class to original state.
void createMultiPolygon()
void buildMultiPoint(const GeomType &t)
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
void buildMultiLineString(const GeomType &t)
void buildLine(LineString *l)
Geometry * getGeometry()
It returns the geometry generated by the parser process.
WKTActions()
Default constructor.
void createPolyhedralSurfaceZ()
void buildGeometryCollection(const GeomType &t)
Enumerations related to Geometry module.
void createPolyhedralSurface()
LineString is a curve with linear interpolation between points.
void createGeometryCollectionZM()
void createGeometryCollectionM()
void createMultiPointZM()
void createPolyhedralSurfaceZM()
void createMultiLineStringZM()
void buildMultiPolygon(const GeomType &t)
void createMultiPolygonZ()
void createPolyhedralSurfaceM()
A class that implements the Grammar Rules for well known text (WKT) format for Geometry.
void createMultiLineString()
void buildPolyhedralSurface(PolyhedralSurface *ps)
void createGeometryCollection()
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
std::vector< Point * > m_points
std::vector< Polygon * > m_polygons
void createMultiLineStringM()
void createMultiPolygonZM()
void createLinearRingZM()
PolyhedralSurface is a contiguous collection of polygons, which share common boundary segments...
void createMultiPolygonM()
void createMultiLineStringZ()
std::vector< LineString * > m_lines
void createGeometryCollectionZ()
void buildPolygon(const GeomType &t)
std::vector< Geometry * > m_geometries