Table of Contents

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

TKey

The type of the key

TValue

The 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

index int

Index value

key TKey

Key value

range Range<TValue>

Range value

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

index int

Index value

key TKey

Key value

min TValue

Minimum value

max TValue

Maximum value

Properties

Index

Gets or sets the index of the position.

public int Index { get; set; }

Property Value

int

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>