fix permutation docs

consolidate "line/segment/ray" functions to just "line" with bounded option
add RAY, LINE and SEGMENT constants
This commit is contained in:
Adrian Mariano
2021-09-09 18:32:58 -04:00
parent a651e191b4
commit 14ae1795bb
8 changed files with 177 additions and 314 deletions

View File

@@ -899,7 +899,7 @@ function vnf_validate(vnf, show_warns=true, check_isects=false) =
c = varr[ic]
)
if (!approx(a,b) && !approx(b,c) && !approx(a,c)) let(
pt = segment_closest_point([a,c],b)
pt = line_closest_point([a,c],b,SEGMENT)
)
if (approx(pt,b))
_vnf_validate_err("T_JUNCTION", [b])