From 01cac616f5633dd791b439c918ec7419f26a07ed Mon Sep 17 00:00:00 2001 From: ChenX Date: Wed, 20 Dec 2023 17:24:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=E5=B9=B6=E9=9B=86=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api.cjs.js | 2 +- api.esm.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api.cjs.js b/api.cjs.js index fdf2ee1..706d842 100644 --- a/api.cjs.js +++ b/api.cjs.js @@ -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); diff --git a/api.esm.js b/api.esm.js index 37308fb..9f1865f 100644 --- a/api.esm.js +++ b/api.esm.js @@ -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);