Top Description Methods
org.apache.commons.math3.geometry.euclidean.twod.hull

public Interface ConvexHullGenerator2D

extends ConvexHullGenerator<Euclidean2D, Vector2D>
Known Direct Implementers
org.apache.commons.math3.geometry.euclidean.twod.hull.AbstractConvexHullGenerator2D
Imports
java.util.Collection, org.apache.commons.math3.exception.ConvergenceException, .NullArgumentException, org.apache.commons.math3.geometry.euclidean.twod.Euclidean2D, .Vector2D, org.apache.commons.math3.geometry.hull.ConvexHullGenerator

Interface for convex hull generators in the two-dimensional euclidean space.
Since
3.3

Method Summary

Modifier and TypeMethod and Description
public ConvexHull2D
generate(Collection<Vector2D>
the set of input points
points
)

Redeclares org.apache.commons.math3.geometry.hull.ConvexHullGenerator.generate.

Builds the convex hull from the set of input points.

Method Detail

generateback to summary
public ConvexHull2D generate(Collection<Vector2D> points) throws NullArgumentException, ConvergenceException

Redeclares org.apache.commons.math3.geometry.hull.ConvexHullGenerator.generate.

Doc from org.apache.commons.math3.geometry.hull.ConvexHullGenerator.generate.

Builds the convex hull from the set of input points.

Parameters
points:Collection<Vector2D>

the set of input points

Returns:ConvexHull2D

the convex hull

Exceptions
NullArgumentException:
if the input collection is null
ConvergenceException:
if generator fails to generate a convex hull for the given set of input points