24 #ifndef GEOS_SIMPLIFY_LINESEGMENTINDEX_H
25 #define GEOS_SIMPLIFY_LINESEGMENTINDEX_H
27 #include <geos/export.h>
33 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
43 class TaggedLineString;
55 class GEOS_DLL LineSegmentIndex {
63 void add(
const TaggedLineString& line);
65 void add(
const geom::LineSegment* seg);
67 void remove(
const geom::LineSegment* seg);
69 std::auto_ptr< std::vector<geom::LineSegment*> >
70 query(
const geom::LineSegment* seg)
const;
74 std::auto_ptr<index::quadtree::Quadtree> index;
76 std::vector<geom::Envelope*> newEnvelopes;
79 LineSegmentIndex(
const LineSegmentIndex&);
80 LineSegmentIndex& operator=(
const LineSegmentIndex&);
90 #endif // GEOS_SIMPLIFY_LINESEGMENTINDEX_H