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());
86 std::ostream&
print(std::ostream& os)
const override;
106 #endif // ndef GEOS_NODING_BASICSEGMENTSTRING_H
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:25
BasicSegmentString(geom::CoordinateSequence *newPts, const void *newContext)
Construct a BasicSegmentString.
Definition: BasicSegmentString.h:60
Definition: BasicSegmentString.h:50
bool isClosed() const override
see dox in SegmentString.h
int getSegmentOctant(unsigned int index) const
Gets the octant of the segment starting at vertex index.
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
unsigned int size() const override
see dox in SegmentString.h
Definition: BasicSegmentString.h:71
geom::CoordinateSequence * getCoordinates() const override
see dox in SegmentString.h
std::ostream & print(std::ostream &os) const override
see dox in SegmentString.h
const geom::Coordinate & getCoordinate(unsigned int i) const override
see dox in SegmentString.h