Solving bugs in functions on planes

This commit is contained in:
RonaldoCMP
2020-09-09 09:37:31 +01:00
parent 6fb16cc8e4
commit 75e5cd4979
3 changed files with 301 additions and 82 deletions

View File

@@ -180,8 +180,9 @@ function split_path_at_region_crossings(path, region, closed=true, eps=EPSILON)
),
subpaths = [
for (p = pair(crossings))
deduplicate(eps=eps,
path_subselect(path, p[0][0], p[0][1], p[1][0], p[1][1], closed=closed)
deduplicate(
path_subselect(path, p[0][0], p[0][1], p[1][0], p[1][1], closed=closed),
eps=eps
)
]
)