Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| int | getBinId (self, float sample) |
| tuple[float, float] | getBinMinMax (self, int binId) |
| Const_std_vector_unsigned_long | getBins (self) |
| float | getMax (self) |
| float | getMin (self) |
| int | heapBytes (self) |
Generated from: MR::Histogram Simple class for calculating histogram
| mrmeshpy.ConstHistogram.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstHistogram) -> None 2. __init__(self: meshlib.mrmeshpy.ConstHistogram, min: float, max: float, size: int) -> None Initialize histogram with minimum and maximum values, and number of bins 3. __init__(self: meshlib.mrmeshpy.ConstHistogram, arg0: meshlib.mrmeshpy.ConstHistogram) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstHistogram, : meshlib.mrmeshpy.ConstHistogram) -> None
| int mrmeshpy.ConstHistogram.getBinId | ( | self, | |
| float | sample ) |
Gets id of bin that inherits sample
| tuple[float, float] mrmeshpy.ConstHistogram.getBinMinMax | ( | self, | |
| int | binId ) |
Gets minimum and maximum of diapason inherited by bin
| Const_std_vector_unsigned_long mrmeshpy.ConstHistogram.getBins | ( | self | ) |
Gets bins
| float mrmeshpy.ConstHistogram.getMax | ( | self | ) |
Gets maximum value of histogram
| float mrmeshpy.ConstHistogram.getMin | ( | self | ) |
Gets minimum value of histogram
| int mrmeshpy.ConstHistogram.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap