cellNeighbors method

List<int> cellNeighbors(
  1. int i
)

Returns the neighbors of cell i (cells sharing an edge).

Implementation

List<int> cellNeighbors(int i) {
  return delaunay.pointsAdjacentToPoint(i).toList();
}