21#include <geos/export.h>
22#include <geos/noding/BasicSegmentString.h>
23#include <geos/noding/Octant.h>
24#include <geos/noding/SegmentString.h>
25#include <geos/geom/CoordinateSequence.h>
54 const void* newContext)
63 std::ostream& print(std::ostream& os)
const override;
74 if(index >= size() - 1) {
77 return Octant::octant(getCoordinate(index), getCoordinate(index + 1));
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:56
Represents a list of contiguous line segments, and supports noding the segments.
Definition BasicSegmentString.h:44
int getSegmentOctant(std::size_t index) const
Gets the octant of the segment starting at vertex index.
Definition BasicSegmentString.h:72
BasicSegmentString(geom::CoordinateSequence *newPts, const void *newContext)
Construct a BasicSegmentString.
Definition BasicSegmentString.h:53
An interface for classes which represent a sequence of contiguous line segments.
Definition SegmentString.h:47
Basic namespace for all GEOS functionalities.
Definition geos.h:39