Comment #5 on issue 2282 by [email protected]: doctests broken by the commit edabb89c5006a7
http://code.google.com/p/sympy/issues/detail?id=2282
Inradius should be positive? This negative result is because the area calculation for a polygon is dependent on the ordering of the points.
Triangle(Point(0, 0), Point(sqrt(3), -1), Point(sqrt(3), 1)).inradius
3**(1/2)/6 Spotted bug: for 3-4-5 triangle, the inradius = 1. But:
Triangle(Point(0, 0), Point(4, 0), Point(4, 3)).inradius
1/2 Triangle code has inradius = area/perimeter, but should be 2A/P. -- 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.
