16 #ifndef GEOS_GEOMGRAPH_INDEX_MONOTONECHAINEDGE_H 17 #define GEOS_GEOMGRAPH_INDEX_MONOTONECHAINEDGE_H 19 #include <geos/export.h> 20 #include <geos/geom/Envelope.h> 24 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 30 class CoordinateSequence;
35 class SegmentIntersector;
44 class GEOS_DLL MonotoneChainEdge {
48 MonotoneChainEdge(Edge *newE);
49 const geom::CoordinateSequence* getCoordinates();
50 std::vector<int>& getStartIndexes();
51 double getMinX(
int chainIndex);
52 double getMaxX(
int chainIndex);
54 void computeIntersects(
const MonotoneChainEdge &mce,
55 SegmentIntersector &si);
57 void computeIntersectsForChain(
int chainIndex0,
58 const MonotoneChainEdge &mce,
int chainIndex1,
59 SegmentIntersector &si);
63 const geom::CoordinateSequence* pts;
66 std::vector<int> startIndex;
71 void computeIntersectsForChain(
int start0,
int end0,
72 const MonotoneChainEdge &mce,
74 SegmentIntersector &ei);
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25