@@ -165,7 +165,7 @@ def angle_based_smoothing(unstr_grid, iterations=1):
165165 vvm_pos = node_coords_2d [vvm_idx ] # Current neighbor
166166 vvn_pos = node_coords_2d [vvn_idx ] # Next neighbor
167167
168- # 以 vvm 为旋转中心构造向量(与 smoothing.cpp 一致)
168+ # 以 vvm 为旋转中心构造向量
169169 v = curr_node_pos - vvm_pos # Vector from vvm to current node
170170 v1 = vvp_pos - vvm_pos # Vector from vvm to vvp
171171 v2 = vvn_pos - vvm_pos # Vector from vvm to vvn
@@ -294,7 +294,7 @@ def smart_angle_based_smoothing(unstr_grid, iterations=1):
294294 vvm_pos = node_coords_2d [vvm_idx ] # Current neighbor
295295 vvn_pos = node_coords_2d [vvn_idx ] # Next neighbor
296296
297- # 以 vvm 为旋转中心构造向量(与 smoothing.cpp 一致)
297+ # 以 vvm 为旋转中心构造向量
298298 v = curr_node_pos - vvm_pos # Vector from vvm to current node
299299 v1 = vvp_pos - vvm_pos # Vector from vvm to vvp
300300 v2 = vvn_pos - vvm_pos # Vector from vvm to vvn
@@ -421,7 +421,7 @@ def getme_method(unstr_grid, iterations=1):
421421 if area_before <= 0 or quality_before <= 0 :
422422 continue
423423
424- # Apply transformation to get new triangle (match smoothing.cpp formulas)
424+ # Apply transformation to get new triangle
425425 y1 = np .array ([
426426 (p1 [0 ] + p3 [0 ]) / 2.0 + np .sqrt (3.0 ) / 2.0 * (p1 [1 ] - p3 [1 ]),
427427 (p1 [1 ] + p3 [1 ]) / 2.0 + np .sqrt (3.0 ) / 2.0 * (p3 [0 ] - p1 [0 ]),
0 commit comments