Circle extends Geometry { public Double getRadius() { return radius; } Circle(Geometry centerGeometry, Double givenRadius); Geometry getCenterGeometry(); Coordinate getCenterPoint(); Double getRadius(); void setRadius(Double givenRadius); @Override boolean covers(Geometry other); @Override boolean intersects(Geometry other); @Override String getGeometryType(); @Override Coordinate getCoordinate(); @Override Coordinate[] getCoordinates(); @Override int getNumPoints(); @Override boolean isEmpty(); @Override int getDimension(); @Override Geometry getBoundary(); @Override int getBoundaryDimension(); @Override Geometry reverse(); @Override Object clone(); @Override boolean equalsExact(Geometry g, double tolerance); @Override void apply(CoordinateFilter filter); @Override void apply(CoordinateSequenceFilter filter); @Override void apply(GeometryFilter filter); @Override void apply(GeometryComponentFilter filter); @Override void normalize(); @Override String toString();  }
@Test public void testGetRadius() throws Exception { Circle circle = new Circle(makePoint(0.0, 0.0), 0.1); assertEquals(0.1, circle.getRadius(), 0.01); }