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();
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:217
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:70
Builds a linear geometry (LineString or MultiLineString) incrementally (point-by-point).
Definition: LinearGeometryBuilder.h:39
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.
void endLine()
Terminate the current LineString.
void setFixInvalidLines(bool fixInvalidLines)
Allows invalid lines to be ignored rather than causing Exceptions.
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25