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,
89 virtual size_t size()
const = 0;
101 virtual bool isClosed()
const = 0;
103 virtual std::ostream& print(std::ostream& os)
const;
114 std::ostream& operator<< (std::ostream& os,
const SegmentString& ss);
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58
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
SegmentString(const void *newContext)
Construct a SegmentString.
Definition: SegmentString.h:58
virtual geom::CoordinateSequence * getCoordinates() const =0
Return a pointer to the CoordinateSequence associated with this SegmentString.
const void * getData() const
Gets the user-defined data for this segment string.
Definition: SegmentString.h:72
void setData(const void *data)
Sets the user-defined data for this segment string.
Definition: SegmentString.h:83
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26