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>
44 class GEOS_DLL BasicSegmentString :
public SegmentString {
53 BasicSegmentString(geom::CoordinateSequence* newPts,
54 const void* newContext)
56 SegmentString(newContext),
60 ~BasicSegmentString()
override
71 const geom::Coordinate& getCoordinate(
size_t i)
const override;
74 geom::CoordinateSequence* getCoordinates()
const override;
77 bool isClosed()
const override;
80 std::ostream& print(std::ostream& os)
const override;
89 int getSegmentOctant(
size_t index)
const;
101 #include <geos/noding/BasicSegmentString.inl>
104 #endif // ndef GEOS_NODING_BASICSEGMENTSTRING_H