23#ifndef GEOS_SIMPLIFY_LINESEGMENTINDEX_H
24#define GEOS_SIMPLIFY_LINESEGMENTINDEX_H
26#include <geos/export.h>
32#pragma warning(disable: 4251)
54class GEOS_DLL LineSegmentIndex {
62 void add(
const TaggedLineString& line);
64 void add(
const geom::LineSegment* seg);
66 void remove(
const geom::LineSegment* seg);
68 std::auto_ptr< std::vector<geom::LineSegment*> >
69 query(
const geom::LineSegment* seg)
const;
73 std::auto_ptr<index::quadtree::Quadtree> index;
75 std::vector<geom::Envelope*> newEnvelopes;
78 LineSegmentIndex(
const LineSegmentIndex&);
79 LineSegmentIndex& operator=(
const LineSegmentIndex&);
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:53
Definition LineSegment.h:57
A Quadtree is a spatial index structure for efficient querying of 2D rectangles. If other kinds of sp...
Definition Quadtree.h:72
Contains and owns a list of TaggedLineSegments.
Definition TaggedLineString.h:60
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains classes that implement a Quadtree spatial index.
Definition DoubleBits.h:29
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25