/** * @inheritDoc * @see org.opengis.geometry.coordinate.Factory#createPolyhedralSurface(java.util.List) */ public PolyhedralSurface createPolyhedralSurface(final List/*<Polygon>*/ polygons) throws MismatchedReferenceSystemException, MismatchedDimensionException { PolyhedralSurface result = new PolyhedralSurfaceImpl(crs); result.getPatches().addAll(polygons); return result; }
/** * @inheritDoc * @see org.opengis.geometry.coordinate.Factory#createPolyhedralSurface(java.util.List) */ public PolyhedralSurface createPolyhedralSurface(List patches) throws MismatchedReferenceSystemException, MismatchedDimensionException { PolyhedralSurface result = new PolyhedralSurfaceImpl(crs); result.getPatches().addAll(patches); return result; } }