getPoint method

Point<double> getPoint(
  1. int i
)

coords[i] in the form of a Point<double>.

Implementation

Point<double> getPoint(int i) => Point<double>(
      _coords[2 * i],
      _coords[2 * i + 1],
    );