>
> Is the area for non convex polygon implemented ?
>
>
> Yes. Polgons have a signed area, ccw is positive:

    >>> Polygon(*[Point(w) for w in [(0,0),(2,0),(2,1),(1,0),(0,1)]]).area
    1
    >>> Polygon(*[Point(w) for w in
[(0,0),(1,0),(1,1),(0,1),(S.Half/2,S.Half),(S.Ha

lf,S.Half),(S.Half,S.Half/2),(S.Half/2,S.Half/2),(S.Half/2,S.Half),(0,1)]]).area

    15/16

-- 
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