GetHistogramCorrespondingBin


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

Syntax

C++
C#
Python
 
def GetHistogramCorrespondingBin(
	inHistogram: Histogram,
	inBinSelectionValue: float,
	/,
	*,
	inCyclic: bool = False
)
-> outValue: float

Parameters

Name Type Default Description
Input value inHistogram Histogram Input histogram
Input value inBinSelectionValue float Input value in the histogram domain that will be used to select the bin
Input value inCyclic bool False Whether to wrap the index around or not
Output value outValue float Output value of the bin