// anything larger than half of the world might have wrapped it, however,
// if it's touching both datelines then don't wrap it, as it might be something
// like antarctica
if (datelineWrappingCheckEnabled && width > radius && width < radius * 2) {
Geometry wrapped = (Geometry) geometry.clone();
wrapped.apply(new WrappingCoordinateFilter(radius, radius * 2, mt, northEast));
wrapped.geometryChanged();
// did we un-wrap it?
if (wrapped.getEnvelopeInternal().getWidth() < radius) {
geometry = wrapped;
env = geometry.getEnvelopeInternal();