You are here: Start » AVL.NET » AVL.GetHistogramCorrespondingBin

AVL.GetHistogramCorrespondingBin

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

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

Parameters

Name Type Range Default Description
inHistogramAvlNet.HistogramInput histogram.
inBinSelectionValuefloatInput value in the histogram domain that will be used to select the bin.
outValueintOutput value of the bin.

Errors

List of possible exceptions:

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

See also