Click or drag to resize

RangeT Methods

The RangeT generic type exposes the following members.

Methods
  NameDescription
Public methodContains
Determines if the specified value is between or equal to the Start and End of this range.
Public methodEquals(Object) (Overrides ValueTypeEquals(Object).)
Public methodEquals(RangeT)
Public methodGetHashCode (Overrides ValueTypeGetHashCode.)
Public methodIntersect
Gets the intersection of this instance and the specified range.
Public methodIntersects
Determines if the specified range intersects (overlaps) this instance.
Public methodCode exampleIterate
Iterates the range between the start and end values.
Public methodToString (Overrides ValueTypeToString.)
Public methodTouches
Determines if the specified range touches (but doesn't intersect) this instance.
Public methodUnion(RangeT)
Gets the union of this instance and an intersecting range.
Public methodUnion(RangeT, FuncT, T)
Gets the union of this instance and the specified range, including touching ranges.
Public methodWithEnd
Creates a copy of the current range with a different end value.
Public methodWithStart
Creates a copy of the current range with a different start value.
Top
See Also