You are here: Start » AVL.NET » AVL.SetHistogramCorrespondingBin Method

AVL.SetHistogramCorrespondingBin Method

Selects a bin that the given value in the histogram domain falls into and sets the value of this bin.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SetHistogramCorrespondingBin(
	ref AvlNet.Histogram ioHistogram,
	float inBinSelectionValue,
	int inNewValue
)

Parameters

Name Type Range Default Description
ioHistogramAvlNet.Histogram
inBinSelectionValuefloatInput value in the histogram domain that will be used to select the bin.
inNewValueintInput new value to be set.

Errors

Error type Description
DomainError inBinSelectionValue exceeds the histogram domain in SetHistogramCorrespondingBin.

See also