GeoCircle extends Primitive { @Override public boolean contains(@Nonnull final GeoArea area) { return boundingBox().contains(area); } GeoCircle(
            @Nonnull final GeoPoint center,
            @Nonnull final Double radiusMeters);  GeoCircle(
            @Nonnull final GeoPoint center,
            @Nonnull final GeoPoint point); @SuppressWarnings({"ConstantConditions", "UnusedDeclaration"}) @Deprecated private  GeoCircle(); @Override @Nonnull GeoPoint getCenter(); @Nonnull Double getRadiusMeters(); @Nonnull GeoCircle withCenter(@Nonnull final GeoPoint center); @Nonnull GeoCircle withRadiusMeters(@Nonnull final Double radiusMeters); @Override boolean overlaps(@Nonnull final GeoArea area); @Override boolean contains(@Nonnull final GeoArea area); @Override boolean contains(@Nonnull final GeoPoint point); @Override @Nonnull GeoRectangle boundingBox(); @Nonnull @Override GeoCircle translate(@Nonnull final GeoVector vector); @Nonnull @Override GeoCircle moveTo(@Nonnull final GeoPoint origin); @Override @Nonnull Collection<GeoRectangle> pixelate(); @Nonnull GeoRectangle innerBoundingBox(); @Override boolean canEqual(@Nonnull final Object obj); @Override boolean equals(@Nullable final Object obj); @Override int hashCode();  }
@Test public void testContains() { LOG.info("testContains"); final GeoCircle a1 = new GeoCircle(new GeoPoint(0.0, 0.0), Geo.degreesLonToMetersAtLat(0.5, 0.0)); final GeoCircle a2 = new GeoCircle(new GeoPoint(0.0, 0.0), Geo.degreesLonToMetersAtLat(1.0, 0.0)); Assert.assertFalse(a1.contains(new GeoPoint(1.0, 0.0))); Assert.assertFalse(a1.contains(new GeoPoint(0.0, 1.0))); Assert.assertTrue(a1.contains(new GeoPoint(0.25, 0.25))); Assert.assertTrue(a1.contains(a1)); Assert.assertTrue(a2.contains(a1)); Assert.assertFalse(a1.contains(a2)); }