Interval Methods

Methods

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(Interval) Tests wither the current instance is equal to another interval.
Equals(Object) Tests whether a given object is equal to the current interval.
(Overrides ValueTypeEquals(Object))
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.
GetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
GetTypeGets 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)

See Also