Click or drag to resize

Interval Methods

The Interval type exposes the following members.

Methods
  NameDescription
Public methodClosedContains
Determines whether the argument lies in the closed interval.
Public methodContains(Double)
Determines whether a given point is contained in the closed interval.
Public methodContains(Double, IntervalType)
Determines whether a given point is contained in the closed or open interval.
Public methodContains(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.
Public methodEquals(Object)
Tests whether a given object is equal to the current interval.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Interval)
Tests wither the current instance is equal to another interval.
Public methodStatic memberFromEndpointAndWidth
Creates a new interval, given its lower endpoint and width.
Public methodStatic memberFromEndpoints
Creates a new interval, given its endpoints.
Public methodStatic memberFromMidpointAndWidth
Creates a new interval, given its midpoint and width.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOpenContains
Determines whether the argument lies in the open interval.
Public methodToString
Produces a string representation of the interval.
(Overrides ValueTypeToString.)
Top
See Also