public boolean contains(final int latE6, final int lonE6) {
        return lonE6 >= bottomLeft.getLongitudeE6()
                && lonE6 <= topRight.getLongitudeE6()
                && latE6 >= bottomLeft.getLatitudeE6()
                && latE6 <= topRight.getLatitudeE6();
    }
Check whether a point is contained in this viewport.

@param point the coordinates to check
@return true if the point is contained in this viewport, false otherwise or if the point contains no coordinates
main/src/main/java/cgeo/geocaching/location/Viewport.java