GEOS  3.9.1dev
Public Member Functions | List of all members
geos::index::strtree::AbstractSTRtree::IntersectsOp Class Referenceabstract

A test for intersection between two bounds, necessary because subclasses of AbstractSTRtree have different implementations of bounds. More...

#include <AbstractSTRtree.h>

Inheritance diagram for geos::index::strtree::AbstractSTRtree::IntersectsOp:
[legend]

Public Member Functions

virtual bool intersects (const void *aBounds, const void *bBounds)=0
 
virtual ~IntersectsOp ()
 

Detailed Description

A test for intersection between two bounds, necessary because subclasses of AbstractSTRtree have different implementations of bounds.

Definition at line 176 of file AbstractSTRtree.h.

Constructor & Destructor Documentation

virtual geos::index::strtree::AbstractSTRtree::IntersectsOp::~IntersectsOp ( )
inlinevirtual

Definition at line 190 of file AbstractSTRtree.h.

Member Function Documentation

virtual bool geos::index::strtree::AbstractSTRtree::IntersectsOp::intersects ( const void *  aBounds,
const void *  bBounds 
)
pure virtual

For STRtrees, the bounds will be Envelopes; for SIRtrees, Intervals; for other subclasses of AbstractSTRtree, some other class.

Parameters
aBoundsthe bounds of one spatial object
bBoundsthe bounds of another spatial object
Returns
whether the two bounds intersect

Implemented in geos::index::strtree::SIRtree::SIRIntersectsOp, and geos::index::strtree::STRtree::STRIntersectsOp.


The documentation for this class was generated from the following file: