The Interval type exposes the following methods.
Operators
| Member | Description | |
|---|---|---|
| __repr__()()() | Obsolete. | |
| ClosedContains(Double) |
Determines whether the argument lies in the closed interval.
| |
| Equality(Interval, Interval) |
Determines whether two intervals are equal.
| |
| Equals(Object) |
Determines whether a given object is an equal interval.
(Overrides ValueType..::.Equals(Object).) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FromEndpointAndWidth(Double, Double) |
Creates a new interval, given its lower endpoint and width.
| |
| FromEndpoints(Double, Double) |
Creates a new interval, given its endpoints.
| |
| FromMidpointAndWidth(Double, Double) |
Creates a new interval, given its midpoint and width.
| |
| GetHashCode()()() |
Returns the hash code for this instance.
(Overrides ValueType..::.GetHashCode()()().) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Inequality(Interval, Interval) |
Determines whether two intervals are not equal.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OpenContains(Double) |
Determines whether the argument lies in the open interval.
| |
| ToString()()() |
Returns the fully qualified type name of this instance.
(Overrides ValueType..::.ToString()()().) |