Skip to content
Snippets Groups Projects
Commit 69d7c5c1 authored by René Bohne's avatar René Bohne
Browse files

VectorOptimizer: added SMALLEST_FIRST sorting: paths are sorted by size of...

VectorOptimizer: added SMALLEST_FIRST sorting: paths are sorted by size of bounding box. Smaller paths are cut before bigger paths.
parent 1a4b0d83
No related branches found
No related tags found
No related merge requests found
......@@ -366,11 +366,7 @@ public class VectorOptimizer
}
case SMALLEST_FIRST: {
/** cut inside parts first, outside parts later
* this algorithm is very robust, it works even for unconnected paths that are split into individual lines (e.g. from some DXF imports)
* it is not completely perfect, as it only considers the bounding-box and not the individual path
*
* see below for documentation of the inner workings
/** cut smaller parts first, bigger parts later
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment