ConvexHull.fromPoints constructor

ConvexHull.fromPoints(
  1. List<Coordinate> pts,
  2. GeometryFactory geomFactory
)

Create a new convex hull construction for the input {@link Coordinate} array.

Implementation

ConvexHull.fromPoints(List<Coordinate> pts, GeometryFactory geomFactory) {
  inputPts = UniqueCoordinateArrayFilter.filterCoordinates(pts);
  //inputPts = pts;
  this.geomFactory = geomFactory;
}