mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-19 04:51:26 +02:00
rename
This commit is contained in:
@@ -13,11 +13,11 @@ Find the intersection of two line segments. Return `[]` if lines don't intersect
|
||||
|
||||
## Examples
|
||||
|
||||
use <lines_intersection2.scad>;
|
||||
use <lines_intersection.scad>;
|
||||
|
||||
line1 = [[0, 0], [0, 10]];
|
||||
line2 = [[5, 0], [-5, 5]];
|
||||
line3 = [[5, 0], [2.5, 5]];
|
||||
|
||||
assert(lines_intersection2(line1, line2) == [0, 2.5]);
|
||||
assert(lines_intersection2(line1, line3, ext = true) == [0, 10]);
|
||||
assert(lines_intersection(line1, line2) == [0, 2.5]);
|
||||
assert(lines_intersection(line1, line3, ext = true) == [0, 10]);
|
Reference in New Issue
Block a user