25#include <geos/export.h> 
   26#include <geos/geom/Envelope.h> 
   27#include <geos/index/quadtree/Quadtree.h> 
   33#pragma warning(disable: 4251)  
   42class TaggedLineString;
 
   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;
 
Basic namespace for all GEOS functionalities.
Definition geos.h:38