20 #ifndef GEOS_GEOMGRAPH_INDEX_MONOTONECHAIN_H
21 #define GEOS_GEOMGRAPH_INDEX_MONOTONECHAIN_H
24 #include <geos/export.h>
25 #include <geos/geomgraph/index/SweepLineEventObj.h>
26 #include <geos/geomgraph/index/MonotoneChainEdge.h>
27 #include <geos/geomgraph/index/MonotoneChain.h>
33 class SegmentIntersector;
47 MonotoneChainEdge* mce;
55 MonotoneChain(MonotoneChainEdge* newMce,
size_t newChainIndex):
57 chainIndex(newChainIndex)
63 computeIntersections(
MonotoneChain* mc, SegmentIntersector* si)
65 mce->computeIntersectsForChain(chainIndex, *(mc->mce), mc->chainIndex, *si);