IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
BinningFactor.cs
Go to the documentation of this file.
2
4
13public class BinningFactor : PointT<uint>
14{
22 public BinningFactor() : base(1, 1)
23 {
24 }
25
41 public BinningFactor(uint x, uint y) : base(x, y)
42 {
43 if (x == 0 || y == 0)
44 {
45 throw new IcvOutOfRangeException(
46 "One or more values given are invalid. Binning Factor values have to be bigger than zero.");
47 }
48 }
49}
Represents a 2D point with generic coordinates.
Definition Point.cs:14
Occurs when a provided value falls outside the allowed valid range.
Definition Exception.cs:128
The binning factor for the x and y directions must consist of positive integer values.
BinningFactor()
Initializes a new instance of the BinningFactor class with default binning factors.
BinningFactor(uint x, uint y)
Initializes a new instance of the BinningFactor class with the specified binning factors for x and y ...