21 #ifndef GEOS_NODING_SEGMENTSTRING_H
22 #define GEOS_NODING_SEGMENTSTRING_H
24 #include <geos/export.h>
25 #include <geos/noding/SegmentNodeList.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;
92 virtual bool isClosed()
const=0;
94 virtual std::ostream& print(std::ostream& os)
const;
105 std::ostream& operator<< (std::ostream& os,
const SegmentString& ss);