Points on the top and left edges are considered contained, so should
points on right and bottom. This also makes contains() consistent with
outcode().
Maybe IShape.contains should document how points on edges are handled?
AbstractCircle.contains is another one that doesn't consider edge points
contained.
Points on the top and left edges are considered contained, so should points on right and bottom. This also makes contains() consistent with outcode().
Maybe IShape.contains should document how points on edges are handled? AbstractCircle.contains is another one that doesn't consider edge points contained.