Click or drag to resize

RangeT Class

The Range class.
Inheritance Hierarchy
SystemObject
  Rubedos.RosToolsApplicationBaseRangeT
    Rubedos.RosToolsApplicationBaseRangeFloat

Namespace:  Rubedos.RosToolsApplicationBase
Assembly:  Rubedos.RosToolsApplicationBase (in Rubedos.RosToolsApplicationBase.dll) Version: 1.0.0.2330 (1.0.00000.2330)
Syntax
C#
public abstract class Range<T>
where T : struct, new(), IComparable<T>

Type Parameters

T
Generic parameter.

The RangeT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyInterval
Max - Min
Public propertyMaximum
Maximum value of the range.
Public propertyMiddle
(Max + Min) / 2
Public propertyMinimum
Minimum value of the range.
Top
Methods
  NameDescription
Public methodContainsRange
Determines if another range is inside the bounds of this range.
Public methodContainsValue
Determines if the provided value is inside the range.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsInsideRange
Determines if this Range is inside the bounds of another range.
Public methodIsValid
Determines if the range is valid.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Presents the Range in readable format.
(Overrides ObjectToString.)
Top
See Also