bug fix, added tests

This commit is contained in:
Adrian Mariano
2021-09-15 16:36:03 -04:00
parent 33ca0d4a69
commit eec1d6b08c
2 changed files with 30 additions and 1 deletions

View File

@@ -1178,7 +1178,7 @@ function vnf_validate(vnf, show_warns=true, check_isects=false) =
)
if (!is_undef(isects))
for (isect = isects)
if (len(isect) > 1)
if (len(isect) > 1) let(
isects2 = polygon_line_intersection(poly2, isect, bounded=true)
)
if (!is_undef(isects2))