GEOS  3.9.1dev
Public Member Functions | Private Attributes | List of all members
geos::index::strtree::Interval Class Reference

A contiguous portion of 1D-space. Used internally by SIRtree. More...

#include <Interval.h>

Public Member Functions

 Interval (double newMin, double newMax)
 
double getCentre ()
 
IntervalexpandToInclude (const Interval *other)
 
bool intersects (const Interval *other) const
 
bool equals (const Interval *o) const
 

Private Attributes

double imin
 
double imax
 

Detailed Description

A contiguous portion of 1D-space. Used internally by SIRtree.

See also
SIRtree

Definition at line 28 of file strtree/Interval.h.

Constructor & Destructor Documentation

geos::index::strtree::Interval::Interval ( double  newMin,
double  newMax 
)

Member Function Documentation

bool geos::index::strtree::Interval::equals ( const Interval o) const
Interval* geos::index::strtree::Interval::expandToInclude ( const Interval other)
double geos::index::strtree::Interval::getCentre ( )
bool geos::index::strtree::Interval::intersects ( const Interval other) const

Member Data Documentation

double geos::index::strtree::Interval::imax
private

Definition at line 37 of file strtree/Interval.h.

double geos::index::strtree::Interval::imin
private

Definition at line 36 of file strtree/Interval.h.


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