function(point) {
        if (typeof point != 'object') {
            point = { x: 0, y: 0};
        }

        return (Math.round(this.x) === Math.round(point.x) &&
                Math.round(this.y) === Math.round(point.y));
    }
function(point) {
        if (typeof point != 'object') {
            point = { x: 0, y: 0};
        }

        return (Math.round(this.x) === Math.round(point.x) &&
                Math.round(this.y) === Math.round(point.y));
    }
function ( point ) { if ( typeof point != 'object' ) { point = { x : 0 , y : 0 } ; } return ( Math . round ( this . x ) === Math . round ( point . x ) && Math . round ( this . y ) === Math . round ( point . y ) ) ; }
Compare this point with another point when the `x` and `y` values of both points are rounded. For example:
[100.3,199.8] will equals to [100, 200].
@param {Ext.util.Point/Object} point The point to compare with, either an instance
of Ext.util.Point or an object with `x` and `y` properties.
@return {Boolean}
Compare this point with another point when the x and y values of both points are rounded . For example : [ 100 . 3 199 . 8 ] will equals to [ 100 200 ] .