Compare commits

..

1 Commits

Author SHA1 Message Date
ChenX
01cac616f5 修复:并集错误 2023-12-20 17:24:49 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -6372,7 +6372,7 @@ class Contour {
hasEqualCus = fastEqualCurve(cu, pl, COMBINE_FUZZ);
if (hasEqualCus) {
//方向相同
if (equalv3(cu.GetFirstDeriv(cu.MidParam).normalize(), pl.GetFirstDeriv(pl.MidParam).normalize(), 1e-3)
if (equalv3(cu.GetFirstDeriv(cu.MidParam).normalize(), pl.GetFirstDeriv(pl.MidParam).normalize(), 1e-2)
=== isEqualNormal) {
unionList.push(pl);
intersectionList.push(pl);

View File

@@ -6363,7 +6363,7 @@ class Contour {
hasEqualCus = fastEqualCurve(cu, pl, COMBINE_FUZZ);
if (hasEqualCus) {
//方向相同
if (equalv3(cu.GetFirstDeriv(cu.MidParam).normalize(), pl.GetFirstDeriv(pl.MidParam).normalize(), 1e-3)
if (equalv3(cu.GetFirstDeriv(cu.MidParam).normalize(), pl.GetFirstDeriv(pl.MidParam).normalize(), 1e-2)
=== isEqualNormal) {
unionList.push(pl);
intersectionList.push(pl);