star-cpr

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

scpr_clipper.h (1039B)


      1 /* Copyright (C) 2016-2018, 2021-2024 |Méso|Star> (contact@meso-star.com)
      2  *
      3  * This program is free software: you can redistribute it and/or modify
      4  * it under the terms of the GNU General Public License as published by
      5  * the Free Software Foundation, either version 3 of the License, or
      6  * (at your option) any later version.
      7  *
      8  * This program is distributed in the hope that it will be useful,
      9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     11  * GNU General Public License for more details.
     12  *
     13  * You should have received a copy of the GNU General Public License
     14  * along with this program. If not, see <http://www.gnu.org/licenses/>. */
     15 
     16 #ifndef SCPR_CLIPPER_H
     17 #define SCPR_CLIPPER_H
     18 
     19 #ifdef COMPILER_GCC
     20   #pragma GCC diagnostic push
     21   #pragma GCC diagnostic ignored "-Wconversion"
     22   #pragma GCC diagnostic ignored "-Wshadow"
     23 #endif
     24 
     25 #include <clipper2/clipper.h>
     26 
     27 #ifdef COMPILER_GCC
     28   #pragma GCC diagnostic pop
     29 #endif
     30 
     31 #endif /* SCPR_CLIPPER_H */