Class: Interval

jsts.index.strtree.Interval

new Interval(otheropt, minopt, maxopt)

A contiguous portion of 1D-space. Used internally by SIRtree.
Parameters:
Name Type Attributes Description
other jsts.index.strtree.Interval <optional>
min number <optional>
max number <optional>
Source:
See:
  • SIRtree

Methods

equals(o) → {boolean}

Parameters:
Name Type Description
o Object
Source:
Returns:
Type
boolean

expandToInclude(other) → {jsts.index.strtree.Interval}

Parameters:
Name Type Description
other jsts.index.strtree.Interval
Source:
Returns:
this.
Type
jsts.index.strtree.Interval

getCentre() → {number}

Source:
Returns:
Type
number

intersects(other) → {boolean}

Parameters:
Name Type Description
other jsts.index.strtree.Interval
Source:
Returns:
Type
boolean