[ 
https://issues.apache.org/jira/browse/MATH-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Curtis Jensen updated MATH-668:
-------------------------------

    Attachment: PolygonsSetCircleTest.java

This circle test case takes the difference of two concentric circles.  The 
results produces is an empty list of vertices, when it should be the outer 
circle with a hole where the inner circle is.

> Polygon difference function produces erroneous results with certain polygons
> ----------------------------------------------------------------------------
>
>                 Key: MATH-668
>                 URL: https://issues.apache.org/jira/browse/MATH-668
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Curtis Jensen
>              Labels: difference, math,, polygon,
>         Attachments: PolygonsSetCircleTest.java, PolygonsSetTest.java
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> For some polygons, the difference function produces erroneous results.  This 
> appears to happen when one polygon is completely encompassed in another, and 
> the outer has multiple concave sections.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to