21#ifndef GEOS_NODING_SEGMENTSTRING_H
22#define GEOS_NODING_SEGMENTSTRING_H
24#include <geos/export.h>
25#include <geos/noding/SegmentNodeList.h>
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;
105std::ostream& operator<< (std::ostream& os,
const SegmentString& ss);
A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...
Definition LineIntersector.h:49
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
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
const void * getData() const
Definition SegmentString.h:70
SegmentString(const void *newContext)
Construct a SegmentString.
Definition SegmentString.h:58
void setData(const void *data)
Definition SegmentString.h:77
virtual geom::CoordinateSequence * getCoordinates() const =0
Return a pointer to the CoordinateSequence associated with this SegmentString.
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:33
Classes to compute nodings for arrangements of line segments and line segment sequences.
Definition PreparedLineString.h:27
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25