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>
39class LinearGeometryBuilder {
43 typedef std::vector<std::unique_ptr<geom::Geometry>> GeomPtrVect;
48 bool ignoreInvalidLines;
50 std::unique_ptr<geom::CoordinateSequence> coordList;
57 ~LinearGeometryBuilder();
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
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.
Contains classes and interfaces implementing linear referencing on linear geometries.
Definition ExtractLineByLocation.h:27
Basic namespace for all GEOS functionalities.
Definition geos.h:39