Uses of Class
org.djutils.draw.line.Polygon2d
Package
Description
The draw package contains the generic classes for device-independent drawing.
The d1 package provides an interface and different implementations for lines.
-
Uses of Polygon2d in org.djutils.draw
-
Uses of Polygon2d in org.djutils.draw.line
Modifier and TypeMethodDescriptionstatic Polygon2d
ConvexHull.convexHull
(Collection<Drawable2d> drawableCollection) Construct a Bounds2d for a Collection of Drawable2d objects.static Polygon2d
ConvexHull.convexHull
(Iterator<Point2d> iterator) Compute the convex hull of a collection of Point2d objects.static Polygon2d
ConvexHull.convexHull
(List<Point2d> list) Compute the convex hull of a list of Point2d objects.static Polygon2d
ConvexHull.convexHull
(Drawable2d... drawable2d) Compute the convex hull of one or more Drawable2d objects.static Polygon2d
ConvexHull.convexHullAlshamrani
(List<Point2d> list) Implementation of the convex hull algorithm by Reham Alshamrani c.s.; see A Preprocessing Technique for Fast Convex Hull Computation.static Polygon2d
ConvexHull.convexHullMonotone
(List<Point2d> list) Implementation of Andrew's Monotone Chain convex hull algorithm.Polygon3d.project()
Polygon2d.reverse()
Modifier and TypeMethodDescriptionboolean
Polygon2d.intersects
(Polygon2d other) Determine if this Polygon intersects another Polygon.