isClosedPolygon method

bool isClosedPolygon(
  1. List<Point<double>> poly
)

Whether poly is a closed polygon (first == last).

Implementation

bool isClosedPolygon(List<Point<double>> poly) =>
    PolyUtils.isClosedPolygon(poly);