public interface HullGeneratorRepresents an algorithm used to create a convex hull of a given point set.
Algorithms implementing this interface are intended for general use but does not imply that the results produced would be appropriate for the core dyn4j engine.
- William Bittle
generateReturns a convex hull generated from the given point set in counter-clockwise point order.
Returns null if the given points array is null.
Returns the array unchanged if the length is less than or equal to 2.
points- the point set or cloud
Vector2 the convex hull vertices
java.lang.NullPointerException- if points is null or contains null points