20 #ifndef GEOS_NODING_SEGMENTSTRING_H
21 #define GEOS_NODING_SEGMENTSTRING_H
23 #include <geos/export.h>
24 #include <geos/noding/SegmentNodeList.h>
25 #include <geos/inline.h>
32 class LineIntersector;
48 typedef std::vector<const SegmentString*> ConstVect;
49 typedef std::vector<SegmentString *> NonConstVect;
51 friend std::ostream& operator<< (std::ostream& os,
70 const void*
getData()
const {
return context; }
77 void setData(
const void* data) { context=data; }
80 virtual unsigned int size()
const=0;
96 virtual bool isClosed()
const=0;
98 virtual std::ostream& print(std::ostream& os)
const;
109 std::ostream& operator<< (std::ostream& os,
const SegmentString& ss);
115 # include "geos/noding/SegmentString.inl"