Interval Class |
The Interval type exposes the following members.
Name | Description | |
---|---|---|
Interval | Default constructor. Constructs the open interval (0, 1). | |
Interval(Double, Double, IntervalType) | Constructs an Interval instance of the specifed type with the given endpoints. |
Name | Description | |
---|---|---|
IntervalType | Gets and sets the interval type. | |
Max | Gets the right endpoint of the interval (upper bound). | |
Min | Gets the value of the left-hand endpoint (lower bound). |
Name | Description | |
---|---|---|
Clone | Creates a deep copy of this interval. | |
Equals |
Tests for equality of this interval and another interval.
(Overrides ObjectEquals(Object)) | |
GetHashCode |
Returns an integer hash code for this interval.
(Overrides ObjectGetHashCode) | |
IsIn | Determines if the given data point lies within the interval. | |
SetEndPoints | Method to set the left and right endpoints for self. | |
ToString |
Returns a formatted string representation of this interval using
conventional notation.
(Overrides ObjectToString) | |
ToString(String) | Returns a formatted string representation of this interval using conventional notation. |
Name | Description | |
---|---|---|
Equality(Interval, Interval) | Equality operator. Tests for equality of two intervals. | |
Inequality(Interval, Interval) | Inequality operator. Tests for inequality of two intervals. |
Name | Description | |
---|---|---|
intervalType_ | ||
max_ | ||
min_ |