18 #include <geos/export.h>
19 #include <geos/geom/CoordinateSequence.h>
59 std::unique_ptr<CoordinateSequence> sectionPts;
63 bool isEndInSameSegment(
double nextLoc)
const;
68 OffsetCurveSection(std::unique_ptr<CoordinateSequence> && secPts,
double pLoc,
double pLocLast)
69 : sectionPts(std::move(secPts))
75 std::unique_ptr<CoordinateSequence> releaseCoordinates();
77 double getLocation()
const {
return location; };
88 static std::unique_ptr<Geometry>
toLine(
89 std::vector<std::unique_ptr<OffsetCurveSection>>& sections,
92 static std::unique_ptr<Geometry> toGeometry(
93 std::vector<std::unique_ptr<OffsetCurveSection>>& sections,
96 static std::unique_ptr<OffsetCurveSection> create(
98 std::size_t start, std::size_t end,
99 double loc,
double locLast);
101 static bool OffsetCurveSectionComparator(
102 const std::unique_ptr<OffsetCurveSection>& a,
103 const std::unique_ptr<OffsetCurveSection>& b);
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:56
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
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:197
Definition: LineString.h:66
Definition: OffsetCurveSection.h:55
static std::unique_ptr< Geometry > toLine(std::vector< std::unique_ptr< OffsetCurveSection >> §ions, const GeometryFactory *geomFactory)
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25