Issue 113186

Summary: basegfx::tools' isConvex() test fails for self-intersecting polygons
Product: gsl Reporter: hdu <hdu>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, thb
Version: OOo 3.2.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
small sample document
matching screenshot of such a polygon none

Description 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 2010-07-16 11:33:24 UTC
Created attachment 70646 [details]
small sample document
Comment 2 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 "".