17#include <geos/export.h>
18#include <geos/geom/util/CurveBuilder.h>
23 class LineToCurveParams;
37class GEOS_DLL LineToCurveConverter {
44 static std::unique_ptr<geom::Curve> getCurved(
const geom::LineString& ls,
const LineToCurveParams& params);
48 explicit LineToCurveConverter(
const geom::GeometryFactory& factory,
bool outputZ,
bool outputM);
50 std::unique_ptr<geom::Curve> compute(
const geom::LineString& ls,
const LineToCurveParams& params);
52 void addArc(
const geom::CircularArc& arc, std::size_t stop);
54 void addLineCoords(
const geom::CoordinateSequence& points, std::size_t from, std::size_t to);
67 geom::util::CurveBuilder curveBuilder;
70 LineToCurveConverter(
const LineToCurveConverter& other);
71 LineToCurveConverter& operator=(
const LineToCurveConverter& rhs);
Definition CircularArc.h:34
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:56
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition GeometryFactory.h:72
Definition LineString.h:66
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:32