diff --git a/src/basic/Point.js b/src/basic/Point.js index 95cbd090..92165988 100644 --- a/src/basic/Point.js +++ b/src/basic/Point.js @@ -211,10 +211,9 @@ var Point = Base.extend({ ); }, - // TODO: Need to adapt Rectangle.java first - // isInside: function(rect) { - // return rect.contains(this); - // }, + isInside: function(rect) { + return rect.contains(this); + }, isClose: function(point, tolerance) { point = new Point(point);