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>
61 const void* newContext)
71 unsigned int size()
const override
73 return static_cast<unsigned int>(pts->size());
83 bool isClosed()
const override;
86 std::ostream& print(std::ostream& os)
const override;
95 int getSegmentOctant(
unsigned int index)
const;
106 #endif // ndef GEOS_NODING_BASICSEGMENTSTRING_H
BasicSegmentString(geom::CoordinateSequence *newPts, const void *newContext)
Construct a BasicSegmentString.
Definition: BasicSegmentString.h:60
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
An interface for classes which represent a sequence of contiguous line segments.
Definition: SegmentString.h:46
Definition: BasicSegmentString.h:50
unsigned int size() const override
see dox in SegmentString.h
Definition: BasicSegmentString.h:71
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59