| 
														
															@@ -1300,7 +1300,8 @@ extension PQStuckPointEditerController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      
														 | 
														
														 | 
														
															      
														 | 
													
												
											
												
													
														| 
														 | 
														
															     func clipPoint(clipCount:Int,oldPoints: Array<Float>)  { 
														 | 
														
														 | 
														
															     func clipPoint(clipCount:Int,oldPoints: Array<Float>)  { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        for i in finallyStuckPoints.count...clipCount { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        BFLog(message: "拼接卡点数:\(clipCount)") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        for i in finallyStuckPoints.count...clipCount + finallyStuckPoints.count  { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   
														 | 
														
														 | 
														
															   
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if ((i % (oldPoints.count - 1)) != 0){ 
														 | 
														
														 | 
														
															             if ((i % (oldPoints.count - 1)) != 0){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 finallyStuckPoints.append(finallyStuckPoints[i-1] + oldPoints[i%(oldPoints.count - 1)] - oldPoints[(i-1)%(oldPoints.count - 1)]) 
														 | 
														
														 | 
														
															                 finallyStuckPoints.append(finallyStuckPoints[i-1] + oldPoints[i%(oldPoints.count - 1)] - oldPoints[(i-1)%(oldPoints.count - 1)]) 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1440,10 +1441,13 @@ extension PQStuckPointEditerController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                 return 
														 | 
														
														 | 
														
															                                 return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             } 
														 | 
														
														 | 
														
															                             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                              
														 | 
														
														 | 
														
															                              
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            finallyStuckPoints.append(stuckPointsTemp.first ?? 0.0) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                             
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            if(finallyStuckPoints.count == 0){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                                finallyStuckPoints.append(stuckPointsTemp.first ?? 0.0) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                                 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             //sticker.clipCount + 1 是都先补一位,当不用补时删除最后多的一位 
														 | 
														
														 | 
														
															                             //sticker.clipCount + 1 是都先补一位,当不用补时删除最后多的一位 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            clipPoint(clipCount: sticker.clipCount + 1 , oldPoints: stuckPointsTemp) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            clipPoint(clipCount: sticker.clipCount , oldPoints: stuckPointsTemp) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             BFLog(message: "finallyStuckPoints\(finallyStuckPoints)") 
														 | 
														
														 | 
														
															                             BFLog(message: "finallyStuckPoints\(finallyStuckPoints)") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   
														 | 
														
														 | 
														
															   
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             // 3,多补一个卡点 做 C级 速处理,要根据条件不满足 要删除最后一位, 
														 | 
														
														 | 
														
															                             // 3,多补一个卡点 做 C级 速处理,要根据条件不满足 要删除最后一位, 
														 |