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