Class Interval
A contiguous portion of 1D-space. Used internally by SIRtree.
Assembly: NetTopologySuite.dll
Syntax
public class Interval : IIntersectable<Interval>, IExpandable<Interval>
Constructors
|
Improve this Doc
View Source
Interval(Interval)
Declaration
public Interval(Interval other)
Parameters
|
Improve this Doc
View Source
Interval(Double, Double)
Declaration
public Interval(double min, double max)
Parameters
Properties
|
Improve this Doc
View Source
Centre
Gets the centre of the interval.
Declaration
public double Centre { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
Object |
o |
|
Returns
Overrides
|
Improve this Doc
View Source
ExpandedBy(Interval)
Declaration
public Interval ExpandedBy(Interval other)
Parameters
Returns
|
Improve this Doc
View Source
ExpandToInclude(Interval)
Declaration
public void ExpandToInclude(Interval other)
Parameters
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
Intersects(Interval)
Declaration
public bool Intersects(Interval other)
Parameters
Returns
Implements