AFEM icon indicating copy to clipboard operation
AFEM copied to clipboard

Intersecting Line with Circle does not work

Open mnesarco opened this issue 3 years ago • 2 comments

Intersecting a Line with a Circle must result in zero, one or two intersection points, but in this example it returns zero points where the Line is actually intersecting the circle at two points:

circle = CircleByNormal(Point(0, 0, 0), Direction(0, 0, 1), 20).circle
line = LineByVector(Point(0, 0, 0), Direction(0, 1, 0)).line
points = IntersectCurveCurve(circle, line).points
print(f"points={points}")

Result:

points=[]

mnesarco avatar Jul 13 '20 20:07 mnesarco