22 #include <geos/geom/Coordinate.h>
23 #include <geos/geom/CoordinateList.h>
24 #include <geos/geom/Geometry.h>
25 #include <geos/geom/GeometryFactory.h>
26 #include <geos/linearref/LinearLocation.h>
43 typedef std::vector<std::unique_ptr<geom::Geometry>> GeomPtrVect;
48 bool ignoreInvalidLines;
50 std::unique_ptr<geom::CoordinateSequence> coordList;
101 std::unique_ptr<geom::Geometry> getGeometry();
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
void setIgnoreInvalidLines(bool ignoreInvalidLines)
Allows invalid lines to be ignored rather than causing Exceptions.
void add(const geom::Coordinate &pt, bool allowRepeatedPoints)
Adds a point to the current line.
void add(const geom::Coordinate &pt)
Adds a point to the current line.
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:216
void endLine()
Terminate the current LineString.
void setFixInvalidLines(bool fixInvalidLines)
Allows invalid lines to be ignored rather than causing Exceptions.
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:65
Builds a linear geometry (LineString or MultiLineString) incrementally (point-by-point).
Definition: LinearGeometryBuilder.h:39