Package org.djutils.draw.bounds
package org.djutils.draw.bounds
Methods for Bounds of an object to quickly determine whether an object needs to be drawn or not.
Copyright (c) 2020-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
ClassDescriptionBounds is the generic tagging interface that indicates the bounds for an object, where the simplest implementation is minX, minY, maxX and maxY for 2D, and minX, minY, minZ and maxX, maxY and maxZ for 3D.A Bounds2d stores the rectangular 2D bounds of a 2d object, or a collection of 2d objects.Bounds3d is the generic class for the 3D extent of an object.