19 #ifndef GEOS_NODING_BASICSEGMENTSTRING_H
20 #define GEOS_NODING_BASICSEGMENTSTRING_H
22 #include <geos/export.h>
23 #include <geos/noding/SegmentString.h>
24 #include <geos/geom/CoordinateSequence.h>
26 #include <geos/inline.h>
54 const void* newContext)
71 const geom::Coordinate& getCoordinate(
size_t i)
const override;
77 bool isClosed()
const override;
80 std::ostream& print(std::ostream& os)
const override;
101 #include <geos/noding/BasicSegmentString.inl>
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58
Represents a list of contiguous line segments, and supports noding the segments.
Definition: BasicSegmentString.h:44
BasicSegmentString(geom::CoordinateSequence *newPts, const void *newContext)
Construct a BasicSegmentString.
Definition: BasicSegmentString.h:53
int getSegmentOctant(size_t index) const
Gets the octant of the segment starting at vertex index.
geom::CoordinateSequence * getCoordinates() const override
An interface for classes which represent a sequence of contiguous line segments.
Definition: SegmentString.h:46
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26