Package org.djutils.draw
package org.djutils.draw
The draw package contains the generic classes for device-independent drawing.
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
-
ClassDescriptionDegenerateLineException is a special type of DrawRuntimeException, that is thrown if a line or line segment is constructed or simplified to less than two points.Directed is the interface to specify a Direction (a vector pointing in a direction without a length).Directed2d<D extends Directed<D>>Directed2d.java.Directed3d<D extends Directed<D>>Directed3d.java.Drawable is an interface to indicate zero or more points can be retrieved to draw the object.Drawable2d is the interface that all drawable objects that use 2D coordinates must implement.Drawable3d is the Interface that all drawable objects that use 3D coordinates must implement.DrawRuntimeException is the root exception for drawing exceptions that do not have to be specified.Export.java.InternalCalculationException is a special type of DrawRuntimeException, that is thrown if a method fails during the construction of a drawable object or during the calculation of a property of a drawable object.InvalidProjectionException is a special type of DrawRuntimeException, that is thrown if a projection results in an invalid object, or if a projection cannot be carried out.Oriented is an interface to indicate an object has a direction.Oriented2d<O extends Oriented<O>>Oriented2d is an interface to indicate an object has a direction in two dimensions.Oriented3d<O extends Oriented<O>>Oriented3d is an interface to indicate an object has a direction in three dimensions.Transform2d contains a MUTABLE transformation object that can transform points (x,y) based on e.g, rotation and translation.Transform3d contains a MUTABLE transformation object that can transform points (x,y,z) based on e.g, rotation and translation.