Uses of Interface
org.djutils.draw.Drawable2d
Packages that use Drawable2d
Package
Description
The draw package contains the generic classes for device-independent drawing.
Methods for Bounds of an object to quickly determine whether an object needs to be drawn or not.
The line package provides an interface and different implementations for lines.
The djutils-draw point package provides a set of interfaces and implementations of Points.
The djutils-draw surface package provides an interface and different implementations for Areas.
-
Uses of Drawable2d in org.djutils.draw
Methods in org.djutils.draw that return Drawable2d -
Uses of Drawable2d in org.djutils.draw.bounds
Classes in org.djutils.draw.bounds that implement Drawable2dModifier and TypeClassDescriptionclass
A Bounds2d stores the rectangular 2D bounds of a 2d object, or a collection of 2d objects.Methods in org.djutils.draw.bounds that return Drawable2dModifier and TypeMethodDescription(package private) static Drawable2d[]
Bounds2d.ensureHasOne
(Drawable2d[] drawable2dArray) Verify that the array contains at least one entry.Methods in org.djutils.draw.bounds that return types with arguments of type Drawable2dModifier and TypeMethodDescriptionstatic Iterator<Drawable2d>
Bounds2d.ensureHasOne
(Iterator<Drawable2d> iterator) Verify that the iterator has something to return.Methods in org.djutils.draw.bounds with parameters of type Drawable2dModifier and TypeMethodDescription(package private) static Drawable2d[]
Bounds2d.ensureHasOne
(Drawable2d[] drawable2dArray) Verify that the array contains at least one entry.Bounds2d.pointsOf
(Drawable2d... drawable2d) Return an iterator that will return all points of one or more Drawable objects.Method parameters in org.djutils.draw.bounds with type arguments of type Drawable2dModifier and TypeMethodDescriptionstatic Iterator<Drawable2d>
Bounds2d.ensureHasOne
(Iterator<Drawable2d> iterator) Verify that the iterator has something to return.Bounds2d.pointsOf
(Collection<Drawable2d> drawableCollection) Return an iterator that will return all points of one or more Drawable2d objects.Constructors in org.djutils.draw.bounds with parameters of type Drawable2dModifierConstructorDescriptionBounds2d
(Drawable2d drawable2d) Construct a Bounds2d for a Drawable2d.Bounds2d
(Drawable2d... drawable2d) Construct a Bounds2d for several Drawable2d objects.Constructor parameters in org.djutils.draw.bounds with type arguments of type Drawable2dModifierConstructorDescriptionBounds2d
(Collection<Drawable2d> drawableCollection) Construct a Bounds2d for a Collection of Drawable2d objects. -
Uses of Drawable2d in org.djutils.draw.line
Classes in org.djutils.draw.line that implement Drawable2dModifier and TypeClassDescriptionclass
LineSegment2d is a line segment bound by 2 end points in 2D-space.class
Closed PolyLine2d.class
Implementation of PolyLine for 2D space.class
Ray2d is a half-line in 2d; it has one end point with finite coordinates; the other end point is infinitely far away.Methods in org.djutils.draw.line with parameters of type Drawable2dModifier and TypeMethodDescriptionstatic Polygon2d
ConvexHull.convexHull
(Drawable2d... drawable2d) Compute the convex hull of one or more Drawable2d objects.Method parameters in org.djutils.draw.line with type arguments of type Drawable2dModifier and TypeMethodDescriptionstatic Polygon2d
ConvexHull.convexHull
(Collection<Drawable2d> drawableCollection) Construct a Bounds2d for a Collection of Drawable2d objects. -
Uses of Drawable2d in org.djutils.draw.point
Classes in org.djutils.draw.point that implement Drawable2dModifier and TypeClassDescriptionclass
A DirectedPoint2d is a Point2d that additionally carries a direction in 2d-space (dirZ).class
A Point2d is an immutable Point with an x and y coordinate, stored with double precision. -
Uses of Drawable2d in org.djutils.draw.surface
Methods in org.djutils.draw.surface that return Drawable2d