41 #include "../common/STLUtils.h" 76 p->
setX(boost::fusion::at_c<0>(c));
77 p->
setY(boost::fusion::at_c<1>(c));
78 p->
setZ(boost::fusion::at_c<2>(c));
86 p->
setX(boost::fusion::at_c<0>(c));
87 p->
setY(boost::fusion::at_c<1>(c));
88 p->
setM(boost::fusion::at_c<2>(c));
96 p->
setX(boost::fusion::at_c<0>(c));
97 p->
setY(boost::fusion::at_c<1>(c));
98 p->
setZ(boost::fusion::at_c<2>(c));
99 p->
setM(boost::fusion::at_c<3>(c));
391 for(std::size_t i = 0; i < l->
getNPoints(); ++i)
404 std::size_t size =
m_lines.size();
405 for(std::size_t i = 0; i < size; ++i)
417 std::size_t size =
m_lines.size();
420 for(std::size_t i = 0; i < size; ++i)
435 for(std::size_t i = 0; i < size; ++i)
445 std::size_t size =
m_lines.size();
448 for(std::size_t i = 0; i < size; ++i)
461 for(std::size_t i = 0; i < size; ++i)
473 for (std::size_t i = 0; i < size; ++i)
484 for(std::size_t i = 0; i < size; ++i)
496 for(std::size_t i = 0; i < size; ++i)
PolyhedralSurface is a contiguous collection of polygons, which share common boundary segments...
void buildMultiPoint(const GeomType &t)
MultiPolygon is a MultiSurface whose elements are Polygons.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
void createMultiSurfaceZM()
A LinearRing is a LineString that is both closed and simple.
std::vector< Point * > m_points
void createMultiPointZM()
std::vector< LineString * > m_lines
void createGeometryCollection()
void createMultiSurfaceZ()
void buildPolyhedralSurface(PolyhedralSurface *ps)
A point with x and y coordinate values.
void createGeometryCollectionZ()
PolyhedralSurface is a contiguous collection of polygons, which share common boundary segments...
void createMultiSurfaceM()
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
MultiPoint is a GeometryCollection whose elements are restricted to points.
void createPolyhedralSurfaceM()
te::gm::GeometryCollection * gc
A LinearRing is a LineString that is both closed and simple.
MultiPoint is a GeometryCollection whose elements are restricted to points.
LineString is a curve with linear interpolation between points.
Triangle is a polygon with 3 distinct, non-collinear vertices and no interior boundary.
Triangle is a polygon with 3 distinct, non-collinear vertices and no interior boundary.
A point with x and y coordinate values.
std::vector< Geometry * > m_geometries
MultiLineString is a MultiCurve whose elements are LineStrings.
Geometry * getGeometry()
It returns the geometry generated by the parser process.
void setM(const double &m)
It sets the Point m-coordinate value.
void createMultiLineStringZ()
std::vector< Polygon * > m_polygons
MultiPolygon is a MultiSurface whose elements are Polygons.
std::size_t getNPoints() const
It returns the number of points (vertexes) in the linestring.
void createLinearRingZM()
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
void createPolyhedralSurfaceZM()
void createMultiPolygon()
void buildLine(LineString *l)
TIN (triangulated irregular network) is a PolyhedralSurface consisting only of Triangle patches...
void buildPolygon(const GeomType &t)
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
MultiLineString is a MultiCurve whose elements are LineStrings.
void createMultiLineString()
void createGeometryCollectionZM()
void createMultiLineStringM()
void createMultiPolygonM()
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
void buildMultiPolygon(const GeomType &t)
void setX(const double &x)
It sets the Point x-coordinate value.
MultiSurface is a class that represents a 2-dimensional GeometryCollection whose elements are surface...
void createMultiPolygonZ()
void buildGeometryCollection(const GeomType &t)
void createPolyhedralSurfaceZ()
void buildMultiSurface(const GeomType &t)
void setGeometryN(std::size_t i, Geometry *g)
It sets the n-th geometry in this geometry collection.
void createMultiLineStringZM()
LineString is a curve with linear interpolation between points.
void setPointN(std::size_t i, const Point &p)
It sets the value of the specified point to this new one.
void buildMultiLineString(const GeomType &t)
void setPatchN(std::size_t i, Polygon *p)
It sets the informed position polygon to the new one.
void setY(const double &y)
It sets the Point y-coordinate value.
It is a collection of other geometric objects.
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...
void reset()
This method resets the Action class to original state.
WKTActions()
Default constructor.
It is a collection of other geometric objects.
void createPolyhedralSurface()
void createMultiPolygonZM()
void createGeometryCollectionM()
void setZ(const double &z)
It sets the Point z-coordinate value.
void setRingN(std::size_t i, Curve *r)
It sets the informed position ring to the new one.
A class that implements the semanthic actions to grammar rules for well known text (WKT) format for G...
void createMultiSurface()