You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to find intersections of some lines. But the way i do it i keep having irrational 3d points if the line are not straight. Could you please help me fix it?
My code is here:
for i in range((len(list_aday))-1):
for j in range(i+1,len(list_aday)):
c=(intersection(Segment(list_aday[i][0],list_aday[i][1],),Segment(list_aday[j][0],list_aday[j][1])))
if c!=[]and c not in list_aday_updated:
list_aday_updated.append(c)
print(list_aday_updated)
My output is : [[Point3D(15, 100, 0)], [Point3D(15, 2630873562090074527311274627/60591416032633487500000000, 0)], .... I have to fix that long number.
The text was updated successfully, but these errors were encountered:
Hello, I am trying to find intersections of some lines. But the way i do it i keep having irrational 3d points if the line are not straight. Could you please help me fix it?
My code is here:
My output is : [[Point3D(15, 100, 0)], [Point3D(15, 2630873562090074527311274627/60591416032633487500000000, 0)], .... I have to fix that long number.
The text was updated successfully, but these errors were encountered: