gumyr / build123d

A python CAD programming library
Apache License 2.0
554 stars 93 forks source link

Line vertex intersection missed if tangential #517

Open MatthiasJ1 opened 9 months ago

MatthiasJ1 commented 9 months ago

Both examples intersect at 0,0


Returns intersection

a = Line(-1,0)
b = Line((0,0),(0,1))
isect = a.intersect(b)
a

Does not return intersection

a = Line(-1,0)
b = Line((0,0),(1,0))
isect = a.intersect(b)
b
gumyr commented 9 months ago

Part of #328