2014-01-27 Barend Gehrels <barend@xs4all.nl>
Sean Farrow wrote On 26-1-2014 22:57:

Hi,

 

Ok, take a windows RECT structure:

typedef struct _RECT {

  LONG left;

  LONG top;

  LONG right;

  LONG bottom;

} RECT, *PRECT;

The remarks then state:

By convention, the right and bottom edges of the rectangle are normally considered exclusive. In other words, the pixel whose coordinates are ( right, bottom ) lies immediately outside of the rectangle. For example, when RECT is passed to the FillRect  function, the rectangle is filled up to, but not including, the right column and bottom row of pixels.

How can I gain the same behaviour when doing equals, overlaps etc.?

Any help appreciated.



As said it is not implemented like this.

Doesn't that have the exact meaning as model::box?
max_corner is also exclusive, not?