replicad-pantograph 0.11.2 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6407,7 +6407,11 @@ const he = (t, n, e) => {
|
|
|
6407
6407
|
return Array.isArray(s) ? s : s.identical ? [] : s.firstCurveInSecond ? [] : s.secondCurveInFirst ? [t, n] : [t];
|
|
6408
6408
|
}, dt$1 = (t, n, e) => {
|
|
6409
6409
|
const s = (e == null ? void 0 : e.firstBoundaryInside) ?? !1, i = (e == null ? void 0 : e.secondBoundaryInside) ?? !1, r = s || i, l = (u, a, f) => u.segments.every(
|
|
6410
|
-
(c) => a.contains(c.midPoint, {
|
|
6410
|
+
(c) => a.contains(c.midPoint, {
|
|
6411
|
+
strokeIsInside: f
|
|
6412
|
+
}) && a.contains(c.firstPoint, {
|
|
6413
|
+
strokeIsInside: f
|
|
6414
|
+
})
|
|
6411
6415
|
);
|
|
6412
6416
|
if (r) {
|
|
6413
6417
|
if (l(t, n, i))
|