Replaces the deprecated Clipper library with the actively maintained Clipper2 library.
This change improves code maintainability and takes advantage of the new features and performance enhancements offered by Clipper2. Includes changes to data types and function calls to align with the Clipper2 API.
Removes the local copy of the Clipper library and uses vcpkg to manage the dependency.
Note: Z coordinate handling for some functions is not yet fully supported in Clipper2 and require manual implementations.
User description
Failing unit test, but testing with resinsight seems ok
PR Type
Enhancement
Description
Migrates from deprecated Clipper library to Clipper2
Updates polygon clipping operations with new API
Removes local Clipper dependency, uses vcpkg instead
Adds Z-coordinate handling limitations for some functions
Diagram Walkthrough
File Walkthrough
1 files
Update polygon clipping to Clipper2 API1 files
Update unit tests for Clipper2 compatibility2 files
Replace local Clipper with vcpkg Clipper2Add clipper2 dependency to vcpkg manifest1 files
Link Clipper2 library to application4 files