Class Interval
- Namespace
- NetTopologySuite.Index.Strtree
- Assembly
- NetTopologySuite.dll
A contiguous portion of 1D-space. Used internally by SIRtree.
public class Interval : IIntersectable<Interval>, IExpandable<Interval>
- Inheritance
-
Interval
- Implements
- Inherited Members
Constructors
Interval(Interval)
public Interval(Interval other)
Parameters
other
Interval
Interval(double, double)
public Interval(double min, double max)
Parameters
Properties
Centre
Gets the centre of the interval.
public double Centre { get; }
Property Value
Methods
Equals(object)
public override bool Equals(object o)
Parameters
o
object
Returns
ExpandToInclude(Interval)
public void ExpandToInclude(Interval other)
Parameters
other
Interval
ExpandedBy(Interval)
public Interval ExpandedBy(Interval other)
Parameters
other
Interval
Returns
- Interval
this
GetHashCode()
public override int GetHashCode()
Returns
Intersects(Interval)
public bool Intersects(Interval other)
Parameters
other
Interval