Hi all :
I got this two geometrical entity:
Ellipse: Center Point : (-22.1368,132.821) , horizontalRadius Axi=641.625758588, Mino Axi=561.422256982 Arc\Circle: Center Point : (-370.288,132.821) , Radius 256.867341765 , StartAngle=0, EndAngle=6.28318530718

if I intersect this two entity I got the following error:
>>> e=geo.Ellipse(geo.Point(-22.1368,132.821),641.625758588,561.422256982)
>>> c=geo.Circle(geo.Point(-370.288,132.821),256.867341765)
>>> e.intersection(c)
Traceback (most recent call last):
  File "<pyshell#11>", line 1, in <module>
    e.intersection(c)
File "C:\Python26\lib\site-packages\sympy\geometry\ellipse.py", line 854, in intersection
    return self._do_circle_intersection(o)
File "C:\Python26\lib\site-packages\sympy\geometry\ellipse.py", line 779, in _do_circle_intersection
    yy = solve(o.equation().subs(x, xi), y)
File "C:\Python26\lib\site-packages\sympy\solvers\solvers.py", line 255, in solve
    solution = _solve(f, *symbols, **flags)
File "C:\Python26\lib\site-packages\sympy\solvers\solvers.py", line 533, in _solve
    soln = tsolve(f_num, symbol)
File "C:\Python26\lib\site-packages\sympy\solvers\solvers.py", line 986, in tsolve
    "(tsolve: at least one Function expected at this point")
NotImplementedError: Unable to solve the equation(tsolve: at least one Function expected at this point

or

>>> c.intersection(e)
Traceback (most recent call last):
  File "<pyshell#12>", line 1, in <module>
    c.intersection(e)
File "C:\Python26\lib\site-packages\sympy\geometry\ellipse.py", line 1083, in intersection
    return Ellipse.intersection(self, o)
File "C:\Python26\lib\site-packages\sympy\geometry\ellipse.py", line 860, in intersection
    return self._do_ellipse_intersection(o)
File "C:\Python26\lib\site-packages\sympy\geometry\ellipse.py", line 794, in _do_ellipse_intersection
    result = solve([seq, oeq], [x, y])
File "C:\Python26\lib\site-packages\sympy\solvers\solvers.py", line 255, in solve
    solution = _solve(f, *symbols, **flags)
File "C:\Python26\lib\site-packages\sympy\solvers\solvers.py", line 593, in _solve
    return solve_poly_system(polys)
File "C:\Python26\lib\site-packages\sympy\solvers\polysys.py", line 41, in solve_poly_system
    return solve_biquadratic(f, g, opt)
File "C:\Python26\lib\site-packages\sympy\solvers\polysys.py", line 49, in solve_biquadratic
    G = groebner([f, g])
File "C:\Python26\lib\site-packages\sympy\polys\polytools.py", line 5298, in groebner
    raise DomainError("can't compute a Groebner basis over %s" % domain)
DomainError: can't compute a Groebner basis over RR

I dose this test with sympy 0.7.rc1

Regards,
Matteo


--
You received this message because you are subscribed to the Google Groups 
"sympy" 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?hl=en.

Reply via email to