Comment #2 on issue 2120 by smichr: Circle(Point(0.5, 0.2),Point(1.1, 0),Point(0.5, 0.5)) raise Except
http://code.google.com/p/sympy/issues/detail?id=2120

Yes, you shouldn't use floating point with Geometry. To conver your points to Rationals you could do something like this:

print Circle(*[S(str(p), rational=True) for p in
...          (Point(0.5, 0.2),Point(1.1, 0),Point(0.5, 0.5))])
Circle(Point(53/60, 7/20), 610**(1/2)/60)

Ideally, you should be able to just put the whole expression as S('expr', rational=True) but geometry isn't integrated well with sympy and doesn't have an atoms method so an error is raised to that effect.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to