Skip to content

Commit 9eef5c6

Browse files
authored
Merge pull request #150 from qiyang-ustc/patch-1
fix intersects typo
2 parents 5917abf + a836988 commit 9eef5c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lines.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
"""
3-
intersect(a::Line, b::Line) -> Point
3+
intersects(a::Line, b::Line) -> Bool, Point
44
55
Intersection of 2 line segmens `a` and `b`.
6-
Returns intersection_found::Bool, intersection_point
6+
Returns intersection_found::Bool, intersection_point::Point
77
"""
88
function intersects(a::Line{2,T1}, b::Line{2,T2}) where {T1,T2}
99
T = promote_type(T1, T2)

0 commit comments

Comments
 (0)