Relative Content

Tag Archive for c#.net-4.8

Rect.Contains on boundary points

A somewhat intermittent issue with supposedly Rect.Contains(Point) method. To be exact, it only happened once and I haven’t been able to reproduce it ever since.
There’s a block of code that among other things finds an upper bound of a group of points such that the first point in group and the upper boundary point are within a rect of a certain size.