Package org.opentrafficsim.core.geometry
Class Bounds
- java.lang.Object
-
- org.djutils.draw.bounds.Bounds3d
-
- org.opentrafficsim.core.geometry.Bounds
-
- All Implemented Interfaces:
Serializable
,Bounds<Bounds3d,Point3d,Drawable3d>
,Drawable<Point3d>
,Drawable3d
public class Bounds extends Bounds3d
Bounds.java.Copyright (c) 2020-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Bounds()
Bounds(double deltaX, double deltaY, double deltaZ)
Bounds(double minX, double maxX, double minY, double maxY, double minZ, double maxZ)
Bounds(Collection<Drawable3d> drawableCollection)
Bounds(Iterator<? extends Point3d> points)
Bounds(Drawable3d drawable3d)
Bounds(Drawable3d... drawable3d)
Bounds(Point3d[] points)
-
Method Summary
-
Methods inherited from class org.djutils.draw.bounds.Bounds3d
contains, contains, contains, covers, covers, covers, disjoint, equals, getBounds, getDeltaZ, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getPoints, getVolume, hashCode, intersection, intersects, midPoint, pointsOf, pointsOf, project, size, toString, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.djutils.draw.Drawable3d
getDimensions
-
-
-
-
Constructor Detail
-
Bounds
public Bounds()
-
Bounds
public Bounds(Collection<Drawable3d> drawableCollection) throws NullPointerException, IllegalArgumentException
-
Bounds
public Bounds(double minX, double maxX, double minY, double maxY, double minZ, double maxZ)
-
Bounds
public Bounds(double deltaX, double deltaY, double deltaZ)
-
Bounds
public Bounds(Drawable3d... drawable3d) throws NullPointerException, IllegalArgumentException
-
Bounds
public Bounds(Drawable3d drawable3d) throws NullPointerException
- Throws:
NullPointerException
-
Bounds
public Bounds(Point3d[] points) throws NullPointerException, IllegalArgumentException
-
-