Uses of Class
org.djutils.draw.line.Polygon2d
Packages that use Polygon2d
Package
Description
The draw package contains the generic classes for device-independent drawing.
The line package provides an interface and different implementations for lines.
-
Uses of Polygon2d in org.djutils.draw
Methods in org.djutils.draw with parameters of type Polygon2d -
Uses of Polygon2d in org.djutils.draw.line
Methods in org.djutils.draw.line that return Polygon2dModifier 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()
Methods in org.djutils.draw.line with parameters of type Polygon2dModifier and TypeMethodDescriptionboolean
Polygon2d.intersects
(Polygon2d other) Determine if this Polygon2d intersects another Polygon2d.Constructors in org.djutils.draw.line with parameters of type Polygon2d