function _detectPointInCircle(point, radius, center) {

            var xp = point.x;
            var yp = point.y;

            var xc = center.x;
            var yc = center.y;

            var d = radius * radius;

            var isInside = Math.pow(xp - xc, 2) + Math.pow(yp - yc, 2) <= d;

            return isInside;
        }
/**
         * Detect if a point is inside a circle area.
         * @private
         */
Detect if a point is inside a circle area.
@private
Detect if a point is inside a circle area . @private
function _detectPointInCircle(point, radius, center) {
            var xp = point.x;
            var yp = point.y;
            var xc = center.x;
            var yc = center.y;
            var d = radius * radius;
            var isInside = Math.pow(xp - xc, 2) + Math.pow(yp - yc, 2) <= d;
            return isInside;
        }
function _detectPointInCircle ( point , radius , center ) { var xp = point . x ; var yp = point . y ; var xc = center . x ; var yc = center . y ; var d = radius * radius ; var isInside = Math . pow ( xp - xc , 2 ) + Math . pow ( yp - yc , 2 ) <= d ; return isInside ; }
Detect if a point is inside a circle area.
Detect if a point is inside a circle area .