copyToList method

List<List<Point>> copyToList()

Implementation

List<List<Point>> copyToList() => List.generate(
  length,
  (i) => List.generate(
    ccore.std_VecVecPoint_length_i(ptr, i),
    (j) => Point.fromPointer(ccore.std_VecVecPoint_get_ij(ptr, i, j)),
  ),
);