@Test
public void circle() throws Exception {

    double radius = SQUARE_ENV.getWidth() / 2;
    
    Polygon p = builder.circle(
            SQUARE_ENV.getMinX() + radius,
            SQUARE_ENV.getMinY() + radius,
            radius,
            getNumSides(SQUARE_ENV));
    
    assertBounds(SQUARE_ENV, p.getEnvelopeInternal(), 0.01);
}