Bounds.java

  1. package org.opentrafficsim.core.geometry;

  2. import java.util.Collection;
  3. import java.util.Iterator;

  4. import org.djutils.draw.Drawable3d;
  5. import org.djutils.draw.bounds.Bounds3d;
  6. import org.djutils.draw.point.Point3d;

  7. /**
  8.  * Bounds.java.
  9.  * <p>
  10.  * Copyright (c) 2020-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
  11.  * BSD-style license. See <a href="https://opentrafficsim.org/docs/current/license.html">OpenTrafficSim License</a>.
  12.  * </p>
  13.  * @author <a href="https://www.tudelft.nl/averbraeck">Alexander Verbraeck</a>
  14.  * @author <a href="https://www.tudelft.nl/pknoppers">Peter Knoppers</a>
  15.  * @author <a href="https://www.transport.citg.tudelft.nl">Wouter Schakel</a>
  16.  */
  17. public class Bounds extends Bounds3d
  18. {

  19.     public Bounds()
  20.     {
  21.         this(0.5, 0.5, 0.5);
  22.     }

  23.     public Bounds(final Collection<Drawable3d> drawableCollection) throws NullPointerException, IllegalArgumentException
  24.     {
  25.         super(drawableCollection);
  26.     }

  27.     public Bounds(final double minX, final double maxX, final double minY, final double maxY, final double minZ,
  28.             final double maxZ)
  29.     {
  30.         super(minX, maxX, minY, maxY, minZ, maxZ);
  31.     }

  32.     public Bounds(final double deltaX, final double deltaY, final double deltaZ)
  33.     {
  34.         super(deltaX, deltaY, deltaZ);
  35.     }

  36.     public Bounds(final Drawable3d... drawable3d) throws NullPointerException, IllegalArgumentException
  37.     {
  38.         super(drawable3d);
  39.     }

  40.     public Bounds(final Drawable3d drawable3d) throws NullPointerException
  41.     {
  42.         super(drawable3d);
  43.     }

  44.     public Bounds(final Iterator<? extends Point3d> points)
  45.     {
  46.         super(points);
  47.     }

  48.     public Bounds(final Point3d[] points) throws NullPointerException, IllegalArgumentException
  49.     {
  50.         super(points);
  51.     }

  52. }