star-cpr

Clip 2D meshes with 2D polygons
git clone git://git.meso-star.fr/star-cpr.git
Log | Files | Refs | README | LICENSE

commit a8222165e28c959b5e4adddbec0d0a4c10dfd2a7
parent dc8480d36df85762a7c85546cbc38a478f7d8684
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Mon, 23 Jan 2023 16:43:59 +0100

Merge branch 'release_0.2' into develop

Diffstat:
MREADME.md | 10+++++++++-
Mcmake/CMakeLists.txt | 4++--
2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -22,6 +22,14 @@ project from the `cmake/CMakeLists.txt` file by appending to the ## Release notes +### Version 0.2 + +- Switch Clipper library to Clipper2. This increases requirements on compiler to + C++17. +- Allow complex polygons (polygons with multiple components, defining holes). +- Add a function to offset polygons. +- Make constraints on coordinates explicit: limited range and limited precision. + ### Version 0.1.3 - Sets the CMake minimum version to 3.1: since CMake 3.20, version 2.8 has @@ -40,7 +48,7 @@ Update the version of the RSys dependency to 0.6: replace the deprecated ## License -Copyright (C) 2016-2018, 2021 |Meso|Star> (<contact@meso-star.com>). +Copyright (C) 2016-2018, 2021 |Meso|Star> (<contact@meso-star.com>). Star-CliPpeR is free software released under the GPL v3+ license: GNU GPL version 3 or later. You are welcome to redistribute it under certain conditions; refer to the COPYING file for details. diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -47,8 +47,8 @@ rcmake_append_runtime_dirs(_runtime_dirs RSys Polygon Clipper2) # Define targets ################################################################################ set(VERSION_MAJOR 0) -set(VERSION_MINOR 1) -set(VERSION_PATCH 3) +set(VERSION_MINOR 2) +set(VERSION_PATCH 0) set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) set(SCPR_FILES_SRC scpr_mesh.c scpr_polygon.c)