This PR is adding a specific test case in order to test inRange method when radius of the point annotation is 0.
Furthermore, it changes the invocation on isPointRange, passing radius and borderWidth separately. There was a case where the radius could be set to 0 and borderWidth to another figure and the isPointRange could return true (instead of false).
This PR is adding a specific test case in order to test
inRange
method whenradius
of the point annotation is 0.Furthermore, it changes the invocation on
isPointRange
, passing radius andborderWidth
separately. There was a case where theradius
could be set to 0 andborderWidth
to another figure and theisPointRange
could returntrue
(instead offalse
).