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)
35 class SegmentIntersector;
44class 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);
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
Definition geomgraph/Edge.h:66
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains classes that implement topology graphs.
Definition IndexedNestedRingTester.h:34
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25