Issue 113186 - basegfx::tools' isConvex() test fails for self-intersecting polygons
Summary: basegfx::tools' isConvex() test fails for self-intersecting polygons
Status: CONFIRMED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 3.2.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 11:31 UTC by hdu@apache.org
Modified: 2017-05-20 11:35 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
small sample document (8.36 KB, application/vnd.sun.xml.draw)
2010-07-16 11:33 UTC, hdu@apache.org
no flags Details
matching screenshot of such a polygon (5.64 KB, image/png)
2010-07-16 11:38 UTC, hdu@apache.org
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hdu@apache.org 2010-07-16 11:31:52 UTC
The current test for polygon convexity (basegfx::tools::isConvex) gives wrong results for some self-
intersecting polygons.

The test is currently only used to accelerate the triangulation of clip regions which self-intersect rarely. If 
the test is to be used for general testing though it needs to give proper results for self-intersecting 
polygons too.
Comment 1 hdu@apache.org 2010-07-16 11:33:24 UTC
Created attachment 70646 [details]
small sample document
Comment 2 hdu@apache.org 2010-07-16 11:38:15 UTC
Created attachment 70647 [details]
matching screenshot of such a polygon
Comment 3 Marcus 2017-05-20 11:35:09 UTC
Reset assigne to the default "issues@openoffice.apache.org".