Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3855 by pepeport...@gmail.com: Possible bug in geometry.polygon
http://code.google.com/p/sympy/issues/detail?id=3855

I think there's a bug in geometry/polygon.py, because the Polygon constructor does not detect polygons with intercepting sides.

I'm looking at file

https://github.com/sympy/sympy/blob/376d08a4e871777073f16a95d898e880e9e18770/sympy/geometry/polygon.py

and I would say that line 170:

        if not rv.is_convex:

should be:

        if not rv.is_convex():


And that line 178:

        aj = si.arbitrary_point(hit)

should be:

        aj = sj.arbitrary_point(hit)



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to