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);
const void * getData() const
Definition: SegmentString.h:70
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
void setData(const void *data)
Definition: SegmentString.h:77
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
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
SegmentString(const void *newContext)
Construct a SegmentString.
Definition: SegmentString.h:58