gumyr / build123d

A python CAD programming library
Apache License 2.0
395 stars 72 forks source link

Line vertex intersection missed if tangential #517

Open MatthiasJ1 opened 5 months ago

MatthiasJ1 commented 5 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 5 months ago

Part of #328