private static void RenamePoints(BezierCurve3D curve) { for (int i = 0; i < curve.KeyPointsCount; i++) { curve.KeyPoints[i].name = "Point " + i; } }