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;
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;
93 geom::CoordinateSequence* pts;
101 #include <geos/noding/BasicSegmentString.inl>
104 #endif // ndef GEOS_NODING_BASICSEGMENTSTRING_H
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:46
Represents a list of contiguous line segments, and supports noding the segments.
Definition: BasicSegmentString.h:44
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58