You are here: Start » FIL.NET » Function Reference » Histogram » Histogram Basics » FIL.GetHistogramCorrespondingBin

FIL.GetHistogramCorrespondingBin

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void GetHistogramCorrespondingBin
(
	FilNet.Histogram inHistogram,
	float inBinSelectionValue,
	bool inCyclic,
	out double outValue
)

Parameters

Name Type Range Default Description
inHistogramFilNet.HistogramInput histogram.
inBinSelectionValuefloatInput value in the histogram domain that will be used to select the bin.
inCyclicboolFalseWhether to wrap the index around or not. Default value: False.
outValuedoubleOutput value of the bin.

Errors

List of possible exceptions:

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

See also