@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        Point other = (Point) obj;
        if (Math.abs(this.x - other.x) > EPS || Math.abs(this.y - other.y) > EPS) {
            return false;
        }
        return true;
    }