25#include <geos/export.h>
26#include <geos/geom/Envelope.h>
27#include <geos/index/quadtree/Quadtree.h>
33#pragma warning(disable: 4251)
49class GEOS_DLL LineSegmentIndex {
53 LineSegmentIndex() =
default;
55 ~LineSegmentIndex() =
default;
57 void add(
const TaggedLineString& line);
59 void add(
const geom::LineSegment* seg);
61 void remove(
const geom::LineSegment* seg);
63 std::vector<const geom::LineSegment*>
64 query(
const geom::LineSegment* seg);
69 index::quadtree::Quadtree index;
71 std::vector<std::unique_ptr<geom::Envelope>> newEnvelopes;
77 LineSegmentIndex(
const LineSegmentIndex&) =
delete;
78 LineSegmentIndex& operator=(
const LineSegmentIndex&) =
delete;
Definition LineSegment.h:61
Contains and owns a list of TaggedLineSegments.
Definition TaggedLineString.h:60
Classes which implement algorithms for simplifying or generalizing geometries.
Definition Corner.h:26
Basic namespace for all GEOS functionalities.
Definition geos.h:39