You are here: Start » AVL.NET » AVL.GetHistogramCorrespondingBin(AvlNet.Histogram, float, int)

AVL.GetHistogramCorrespondingBin(AvlNet.Histogram, float, int)

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void GetHistogramCorrespondingBin(
	AvlNet.Histogram inHistogram,
	float inBinSelectionValue,
	out int outValue
)

Parameters

inHistogram
Type: AvlNet.Histogram
Input histogram
inBinSelectionValue
Type: System.Single
Input value in the histogram domain that will be used to select the bin
outValue
Type: System.Int32
Output value of the bin

Errors

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

See also