/**
  * Make a cuboid region out of the given region using the minimum and maximum bounds of the
  * provided region.
  *
  * @param region the region
  * @return a new cuboid region
  */
 public static CuboidRegion makeCuboid(Region region) {
   checkNotNull(region);
   return new CuboidRegion(region.getMinimumPoint(), region.getMaximumPoint());
 }