Hi,
What’s the logic behind letting lines intersect what seems like each and every circle in a scene?
For instance, the line in green intersects both circles 0 and 1, although it should only intersect circle 0 when interpreted as an infinite line.

However, it finds an intersection with circle 1 as well (cf. GH panel)?
The same goes for “physical” line circle intersections?

Here’s my script:
import Rhino.Geometry as rg
for i in range(len(C)):
rc, t1, _, t2, _ = rg.Intersect.Intersection.LineCircle(L, C[i])
print "Circle", i, ":", t1, t2, rc
Is this a bug?
line-circle-intersection-ghpyhton.gh (6.8 KB)
5 posts - 2 participants

