Range Structure TIBCO Spotfire 7.6 API Reference
A Range represents a double-precision floating-point interval.

Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(2, 0)]
public struct Range

The Range type exposes the following members.

Constructors

  NameDescription
Public methodRange(Range)
Initializes a new instance of the Range struct. Copy constructor.
Public methodRange(Double, Double)
Initializes a new instance of the Range struct.
Top
Methods

  NameDescription
Public methodClamp
Clamps the specified value to this range. That is, the returned value will be within this range.
Public methodContains
Determines whether the specified value is within the range.
Public methodEquals
Compare for equality.
(Overrides ValueTypeEquals(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
Calculates hash code for a range.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string representation of the range.
(Overrides ValueTypeToString.)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compare for equality.
Public operatorStatic memberInequality
Compare for Inequality.
Top
Fields

  NameDescription
Public fieldStatic memberEmptyRange
Empty range. Both Low and High are 0.
Public fieldStatic memberInvalidRange
Invalid range. No operations except IsInvalid are allowed.
Public fieldStatic memberUnitRange
Unit range. Low is 0 and High is 1.
Top
Properties

  NameDescription
Public propertyHigh
Gets the high limit of the range.
Public propertyIsEmptyRange
Gets a value indicating whether the range is empty or not.True Returns true if the range is an empty (point) interval.
Public propertyIsUnitRange
Gets a value indicating whether the range is a unit range. Returns true if the range is a unit range [0, 1].
Public propertyIsValidRange
Gets a value indicating whether the range is valid or not.
Public propertyLow
Gets the low limit of the range.
Public propertyMidpoint
Gets the mid-point of the range. Equal to (Low + High)/2.
Public propertyWidth
Gets the width of the range. Equal to High - Low.
Top
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference