Interval Methods |
The Interval type exposes the following members.
Name | Description | |
---|---|---|
ClosedContains |
Determines whether the argument lies in the closed interval.
| |
Contains(Double) |
Determines whether a given point is contained in the closed interval.
| |
Contains(Double, IntervalType) |
Determines whether a given point is contained in the closed or open interval.
| |
Contains(Double, IntervalType, IntervalType) |
Determines whether a given point is contained in the interval, with the left and right endpoints
separately specififed as closed or open.
| |
Equals(Object) |
Tests whether a given object is equal to the current interval.
(Overrides ValueTypeEquals(Object).) | |
Equals(Interval) |
Tests wither the current instance is equal to another interval.
| |
FromEndpointAndWidth |
Creates a new interval, given its lower endpoint and width.
| |
FromEndpoints |
Creates a new interval, given its endpoints.
| |
FromMidpointAndWidth |
Creates a new interval, given its midpoint and width.
| |
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
OpenContains |
Determines whether the argument lies in the open interval.
| |
ToString |
Produces a string representation of the interval.
(Overrides ValueTypeToString.) |