com.vividsolutions.jts.index.strtree

Class Interval


public class Interval
extends java.lang.Object

A contiguous portion of 1D-space. Used internally by SIRtree.
Version:
1.7
See Also:
SIRtree

Constructor Summary

Interval(Interval other)
Interval(double min, double max)

Method Summary

boolean
equals(Object o)
Interval
expandToInclude(Interval other)
double
getCentre()
boolean
intersects(Interval other)

Constructor Details

Interval

public Interval(Interval other)

Interval

public Interval(double min,
                double max)

Method Details

equals

public boolean equals(Object o)

expandToInclude

public Interval expandToInclude(Interval other)
Returns:
this

getCentre

public double getCentre()

intersects

public boolean intersects(Interval other)