Files
ViewDesignEngine/include
hm c15d8c3fa0 feat(curves): SMLib alignment batch A2 — parameter-corrected fitting and Bezier decomposition
- curve fitting: approximate_curve_refined (closest-point error metric, parameter-correction loop, control-point scan; aligns N_FitCrvApprox)
  same 6 CP error 5.941e-4 -> 4.660e-4 (-21.6%); 90-degree arc reaches 1e-6 within 24 CP
- surface: split_surface_to_bezier_patches (raise internal knot multiplicity to degree, extract (p+1)x(q+1) control nets; aligns N_SrfDecomposeToBez)
  cylinder -> 4 patches, bicubic -> 2 patches; pointwise <=1e-12; area sum rel <=1e-9
- tests: test_smlib_nurbs_alignment 14/14 (+5); target subset 629/629; PR gate PASS (~913, 36.8 s)
- version 1.0.402; report 461; plan A2-1/A2-4 marked done
2026-11-14 21:31:03 +08:00
..