View Javadoc
1   package org.opentrafficsim.core.geometry;
2   
3   import java.util.Collection;
4   import java.util.Iterator;
5   
6   import org.djutils.draw.Drawable3d;
7   import org.djutils.draw.bounds.Bounds3d;
8   import org.djutils.draw.point.Point3d;
9   
10  /**
11   * Bounds.java.
12   * <p>
13   * Copyright (c) 2020-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
14   * BSD-style license. See <a href="https://opentrafficsim.org/docs/current/license.html">OpenTrafficSim License</a>.
15   * </p>
16   * @author <a href="https://www.tudelft.nl/averbraeck">Alexander Verbraeck</a>
17   * @author <a href="https://www.tudelft.nl/pknoppers">Peter Knoppers</a>
18   * @author <a href="https://www.transport.citg.tudelft.nl">Wouter Schakel</a>
19   */
20  public class Bounds extends Bounds3d
21  {
22  
23      public Bounds()
24      {
25          this(0.5, 0.5, 0.5);
26      }
27  
28      public Bounds(final Collection<Drawable3d> drawableCollection) throws NullPointerException, IllegalArgumentException
29      {
30          super(drawableCollection);
31      }
32  
33      public Bounds(final double minX, final double maxX, final double minY, final double maxY, final double minZ,
34              final double maxZ)
35      {
36          super(minX, maxX, minY, maxY, minZ, maxZ);
37      }
38  
39      public Bounds(final double deltaX, final double deltaY, final double deltaZ)
40      {
41          super(deltaX, deltaY, deltaZ);
42      }
43  
44      public Bounds(final Drawable3d... drawable3d) throws NullPointerException, IllegalArgumentException
45      {
46          super(drawable3d);
47      }
48  
49      public Bounds(final Drawable3d drawable3d) throws NullPointerException
50      {
51          super(drawable3d);
52      }
53  
54      public Bounds(final Iterator<? extends Point3d> points)
55      {
56          super(points);
57      }
58  
59      public Bounds(final Point3d[] points) throws NullPointerException, IllegalArgumentException
60      {
61          super(points);
62      }
63  
64  }