Hello, I have a little suggestion. >>>> This is similary to Number(2) or Real(2) returning >>>> Integer(2) and Integer(1) returning S.One. >>>> So now Polygon((1,1)) returns Point(1,1) rather >>>> than raising an error. *>>>> The only potential problem is that whereas Polygon >>>> has an area, Line and point do not.*
In case of a 3D module, I think that each geometric object should have a * lenght* , an *area* , and a *volume* . For a line, the volume should raise an error, whereas for a "real" polygon, the lenght should be the perimeter. Is the area for non convex polygon implemented ? Best regards. Christophe, a futur user of sympy.* * -- 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.
