mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Better codes for _closest_s
This commit is contained in:
parent
e63c1680a6
commit
83f7ec499e
1 changed files with 3 additions and 3 deletions
|
@ -1778,7 +1778,7 @@ function circle_line_intersection(c,r,d,line,bounded=false,eps=EPSILON) =
|
||||||
function noncollinear_triple(points,error=true,eps=EPSILON) =
|
function noncollinear_triple(points,error=true,eps=EPSILON) =
|
||||||
assert( is_path(points), "Invalid input points." )
|
assert( is_path(points), "Invalid input points." )
|
||||||
assert( is_finite(eps) && (eps>=0), "The tolerance should be a non-negative value." )
|
assert( is_finite(eps) && (eps>=0), "The tolerance should be a non-negative value." )
|
||||||
len(pts)<3 ? [] :
|
len(points)<3 ? [] :
|
||||||
let(
|
let(
|
||||||
pa = points[0],
|
pa = points[0],
|
||||||
b = furthest_point(pa, points),
|
b = furthest_point(pa, points),
|
||||||
|
|
Loading…
Reference in a new issue