GeoTools Polygon smooth方法

最近有个任务需要把 带有菱角的polygon数据处理光滑,网上搜索后发现GeoTools Polygon smooth方法 ,很好用。