function createOrUpdateFromRings(rings, dest) {
  const extent = createOrUpdateEmpty(dest);
  return extendRings(extent, rings);
}
@param {Array<Array<import("./coordinate.js").Coordinate>>} rings Rings.
@param {Extent} [dest] Extent.
@return {Extent} Extent.