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-2021 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
-
Interface Summary Interface Description Bounds<B extends Bounds<B,S>,S extends Space> Bounds 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. -
Class Summary Class Description Bounds2d A Bounds2d stores the rectangular 2D bounds of a 2d object, or a collection of 2d objects.Bounds3d Bounds3d is the generic class for the 3D extent of an object.