Uses of Interface
org.djutils.draw.Drawable2d
-
Packages that use Drawable2d Package Description org.djutils.draw The draw package contains the generic classes for device-independent drawing.org.djutils.draw.bounds Methods for Bounds of an object to quickly determine whether an object needs to be drawn or not.org.djutils.draw.line The d1 package provides an interface and different implementations for lines.org.djutils.draw.point The d0 package provides a set of interfaces and implementations of Points.org.djutils.draw.surface The d1 package provides an interface and different implementations for Areas. -
-
Uses of Drawable2d in org.djutils.draw
Methods in org.djutils.draw that return Drawable2d Modifier and Type Method Description Drawable2d
Drawable3d. project()
Project the object onto the z=0 plane. -
Uses of Drawable2d in org.djutils.draw.bounds
Classes in org.djutils.draw.bounds that implement Drawable2d Modifier and Type Class Description class
Bounds2d
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 Drawable2d Modifier and Type Method Description (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 Drawable2d Modifier and Type Method Description static 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 Drawable2d Modifier and Type Method Description boolean
Bounds2d. contains(Drawable2d drawable)
Check if this Bounds completely contains a Drawable.boolean
Bounds2d. covers(Drawable2d drawable)
Check if no part of a Drawable is outside this Bounds.boolean
Bounds2d. disjoint(Drawable2d drawable)
Return whether a Drawable is disjoint from this Bounds.(package private) static Drawable2d[]
Bounds2d. ensureHasOne(Drawable2d[] drawable2dArray)
Verify that the array contains at least one entry.static Iterator<Point2d>
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 Drawable2d Modifier and Type Method Description static Iterator<Drawable2d>
Bounds2d. ensureHasOne(Iterator<Drawable2d> iterator)
Verify that the iterator has something to return.static Iterator<Point2d>
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 Drawable2d Constructor Description Bounds2d(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 Drawable2d Constructor Description Bounds2d(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 Drawable2d Modifier and Type Class Description class
LineSegment2d
LineSegment2d is a line segment bound by 2 end points in 2D-space.class
Polygon2d
Polygon2d.java.class
PolyLine2d
Implementation of PolyLine for 2D space.class
Ray2d
Ray2d is a half-line; it has one end point with non-infinite coordinates; the other end point is infinitely far away.Methods in org.djutils.draw.line with parameters of type Drawable2d Modifier and Type Method Description static 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 Drawable2d Modifier and Type Method Description static 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 Drawable2d Modifier and Type Class Description class
OrientedPoint2d
The OrientedPoint2d is a point in a 2-dimensional space with an orientation vector, which is specified in terms of its counter-clockwise rotation around the point in radians.class
Point2d
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 Modifier and Type Method Description Drawable2d
Surface3d. project()
Project the object onto the z=0 plane.
-