py_RemeshSelfIntersectionsParam.cpp 1.0 KB

123456789101112131415161718192021
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2017 Sebastian Koch <s.koch@tu-berlin.de> and Daniele Panozzo <daniele.panozzo@gmail.com>
  4. //
  5. // This Source Code Form is subject to the terms of the Mozilla Public License
  6. // v. 2.0. If a copy of the MPL was not distributed with this file, You can
  7. // obtain one at http://mozilla.org/MPL/2.0/.
  8. py::class_<igl::copyleft::cgal::RemeshSelfIntersectionsParam > RemeshSelfIntersectionsParam(m, "RemeshSelfIntersectionsParam");
  9. RemeshSelfIntersectionsParam
  10. .def("__init__", [](igl::copyleft::cgal::RemeshSelfIntersectionsParam &m)
  11. {
  12. new (&m) igl::copyleft::cgal::RemeshSelfIntersectionsParam();
  13. m.detect_only = false;
  14. m.first_only = false;
  15. m.stitch_all = false;
  16. })
  17. .def_readwrite("detect_only", &igl::copyleft::cgal::RemeshSelfIntersectionsParam::detect_only)
  18. .def_readwrite("first_only", &igl::copyleft::cgal::RemeshSelfIntersectionsParam::first_only)
  19. .def_readwrite("stitch_all", &igl::copyleft::cgal::RemeshSelfIntersectionsParam::stitch_all)
  20. ;