getNthCurvePoints method

List<Vector3> getNthCurvePoints(
  1. int n
)

Implementation

List<Vector3> getNthCurvePoints(int n) {
  assert(n < getNumCurves());
  var nppc = nPointsPerCurve;
  return points.getRange(nppc * n, nppc * (n + 1)).toList();
}