throw new Error("not implemented");
if (solids.size() == 0) return new Rectangle2D.Double(0.0, 0.0, 0.0, 0.0);  double xmin; double xmax; double ymin; double ymax; xmin = xmax = ((Segment) solids.elementAt(0)).P1.getX(); ymin = ymax = ((Segment) solids.elementAt(0)).P1.getY();  for (int path = 0; path < solids.size(); path++) { Rectangle2D r = ((Segment) solids.elementAt(path)).getPathBounds(); xmin = Math.min(r.getMinX(), xmin); ymin = Math.min(r.getMinY(), ymin); xmax = Math.max(r.getMaxX(), xmax); ymax = Math.max(r.getMaxY(), ymax);
  public Rectangle2D getBounds2D()  {    // XXX Implement.    throw new Error("not implemented");  }