19#ifndef GEOS_IDX_CHAIN_MONOTONECHAIN_H
20#define GEOS_IDX_CHAIN_MONOTONECHAIN_H
22#include <geos/export.h>
23#include <geos/geom/Envelope.h>
100 std::size_t start, std::size_t end,
void* context);
107 size_t getStartIndex()
const {
return start; }
109 size_t getEndIndex()
const {
return end; }
134 void setId(
int nId) {
id=nId; }
136 inline int getId()
const {
return id; }
138 void* getContext() {
return context; }
145 MonotoneChainSelectAction& mcs);
147 void computeOverlaps(std::size_t start0, std::size_t end0, MonotoneChain& mc,
148 std::size_t start1, std::size_t end1,
149 MonotoneChainOverlapAction& mco);
170 MonotoneChain(
const MonotoneChain& other);
171 MonotoneChain& operator=(
const MonotoneChain& rhs);
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:53
Definition LineSegment.h:57
Definition MonotoneChainOverlapAction.h:44
Definition MonotoneChainSelectAction.h:45
MonotoneChain(const geom::CoordinateSequence &pts, std::size_t start, std::size_t end, void *context)
const geom::Envelope & getEnvelope() const
Returned envelope is owned by this class.
void getLineSegment(std::size_t index, geom::LineSegment &ls) const
Set given LineSegment with points of the segment starting at the given index.
void select(const geom::Envelope &searchEnv, MonotoneChainSelectAction &mcs)
std::auto_ptr< geom::CoordinateSequence > getCoordinates() const
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains classes that implement Monotone Chains.
Definition MCPointInRing.h:41
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25