public static Polygon removeHolesPolygon ( Polygon polygon ) { return new Polygon ( ( LinearRing ) polygon . getExteriorRing ( ) , null , polygon . getFactory ( ) ) ; }
Create a new polygon without hole .