public void AddRapidMove(Point3D point) { if (cutCount > 1) { linePoints.Add(linePoints.Last()); linePoints.Add(point); } if (lastType == MoveType.Cut) { delta0 = new Vector3D(0d, 0d, 0d); } rapidPoints.Add(point0); rapidPoints.Add(point); cutCount = 0; lastType = MoveType.Rapid; point0 = point; }