<table><tr><td style="">dkolozsvari updated this revision to Diff 5708.<br />dkolozsvari added a comment.</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D2340" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Improved the algorithm to be faster and more readable. Still need to write comments for it. There is one little issue which I worked out with a simple break, so it wouldn't crash. The cause is somehow related to the intersections added at the cornerpoints, because the Weilner-Atherton algorithm is not prepared for that(in a perfect, mathematical world, it can't even occur). Besides that little issue(which is not even visible most of the times), the clipping works fine.</p>

<p>Any suggestions are welcome. I'm moving on to implement this in BaseClipper.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rMARBLE Marble</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D2340?vs=5644&id=5708" rel="noreferrer">https://phabricator.kde.org/D2340?vs=5644&id=5708</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2340" rel="noreferrer">https://phabricator.kde.org/D2340</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/lib/marble/ClipPainter.cpp<br />
src/lib/marble/GeoPainter.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>dkolozsvari, rahn, nienhueser<br /><strong>Cc: </strong>Marble, shentey, chaz6, dkolozsvari, cmihalache, rahn, nienhueser, marble-devel<br /></div>