PolygonalArea constructor

PolygonalArea({
  1. required List<Point> points,
})

Implementation

PolygonalArea({required List<Point> points}) : super(points: points) {
  assert(points.length > 2, "An area needs at least 3 points");
  convexHullPoints = _convexHullGenerator(super.points);
}