Class IndexedMinMaxPos<TKey, TValue>
- Namespace
- Hi.Common.MinMaxUtils
- Assembly
- HiGeom.dll
Represents a position with an index, key, and a range of values.
public class IndexedMinMaxPos<TKey, TValue>
Type Parameters
TKeyThe type of the key
TValueThe type of the range values
- Inheritance
-
IndexedMinMaxPos<TKey, TValue>
- Inherited Members
- Extension Methods
Constructors
IndexedMinMaxPos()
Initializes a new instance of the IndexedMinMaxPos class.
public IndexedMinMaxPos()
IndexedMinMaxPos(int, TKey, Range<TValue>)
Initializes a new instance of the IndexedMinMaxPos class with specified values.
public IndexedMinMaxPos(int index, TKey key, Range<TValue> range)
Parameters
IndexedMinMaxPos(int, TKey, TValue, TValue)
Initializes a new instance of the IndexedMinMaxPos class with specified values.
public IndexedMinMaxPos(int index, TKey key, TValue min, TValue max)
Parameters
indexintIndex value
keyTKeyKey value
minTValueMinimum value
maxTValueMaximum value
Properties
Index
Gets or sets the index of the position.
public int Index { get; set; }
Property Value
Key
Gets or sets the key associated with the position.
public TKey Key { get; set; }
Property Value
- TKey
Range
Gets or sets the range of values for the position.
public Range<TValue> Range { get; set; }
Property Value
- Range<TValue>