diff --git a/src/basic/Point.js b/src/basic/Point.js index 4d2fcb84..43f33e2d 100644 --- a/src/basic/Point.js +++ b/src/basic/Point.js @@ -702,7 +702,7 @@ var Point = Base.extend(/** @lends Point# */{ * @return {Boolean} {@true it is colinear} */ isColinear: function(point) { - return Math.abs(this.cross(point)) < /*#=*/Numerical.EPSILON; + return Math.abs(this.cross(point)) < /*#=*/Numerical.TOLERANCE; }, /** @@ -713,7 +713,7 @@ var Point = Base.extend(/** @lends Point# */{ * @return {Boolean} {@true it is orthogonal} */ isOrthogonal: function(point) { - return Math.abs(this.dot(point)) < /*#=*/Numerical.EPSILON; + return Math.abs(this.dot(point)) < /*#=*/Numerical.TOLERANCE; }, /**