Click or drag to resize

IntervalT Methods

The IntervalT type exposes the following members.

Methods
 NameDescription
Public methodAbs Returns the absolute value interval.
Public methodStatic memberAdd Adds two intervals and returns the sum.
Public methodStatic memberClone Creates a copy of the specified interval.
Public methodStatic memberCombine Combines two intervals that meet. This is similar to a union, but the intervals must meet.
Public methodCompareTo(IntervalT)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(Object)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodContains Determines whether this interval contains the specified value.
Public methodStatic memberDivide Divides two intervals and returns the quotient.
Public methodEquals(IntervalT)Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodStatic memberEquals(IntervalT, IntervalT) Compares two values for equality.
Public methodStatic memberFrom(T) Creates a single-point interval and inflates bounds conservatively.
Public methodStatic memberFrom(T, T) Creates an interval with conservatively inflated bounds.
Public methodStatic memberFromExact(T) Creates a single-point interval without inflating bounds.
Public methodStatic memberFromExact(T, T) Creates an interval with exact bounds (no inflation).
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodStatic memberGetInflatedBounds Gets the inflated lower and upper bounds for a computed value.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIsDisjoint Determines whether two intervals are disjoint. Two intervals are disjoint if no part of one interval is contained in the other.
Public methodStatic memberMaxx Returns the interval that is considered the maximum when comparing bounds.
Public methodStatic memberMultiply Multiplies two intervals and returns the product.
Public methodSqrt Returns an interval that represents the square root of this interval.
Public methodStatic memberSubtract Subtracts two intervals and returns the difference.
Public methodToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
Public methodToString(String, IFormatProvider) Returns a string that represents this instance.
Public methodStatic memberTryParse Attempts to parse a string into an IntervalT.
Top
See Also