class GeometryEdit {

    public static List<Polygon> cutPolygonWithPolygon(Polygon polygon, Polygon extrudePolygon) {
        Geometry geom = polygon.difference(extrudePolygon);
        ArrayList<Polygon> polygons = new ArrayList<Polygon>();
        for (int i = 0; i < geom.getNumGeometries(); i++) {
            Polygon subGeom = (Polygon) geom.getGeometryN(i);
            polygons.add(subGeom);

        }
        return polygons;
    }

    private  GeometryEdit();

}