RemeshSelfIntersectionsParam.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2015 Alec Jacobson <alecjacobson@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. #ifndef IGL_COPYLEFT_CGAL_REMESH_SELF_INTERSECTIONS_PARAM_H
  9. #define IGL_COPYLEFT_CGAL_REMESH_SELF_INTERSECTIONS_PARAM_H
  10. namespace igl
  11. {
  12. namespace copyleft
  13. {
  14. namespace cgal
  15. {
  16. // Optional Parameters
  17. // DetectOnly Only compute IF, leave VV and FF alone
  18. struct RemeshSelfIntersectionsParam
  19. {
  20. bool detect_only;
  21. bool first_only;
  22. bool stitch_all;
  23. RemeshSelfIntersectionsParam(
  24. bool _detect_only=false,
  25. bool _first_only=false,
  26. bool _stitch_all=false):
  27. detect_only(_detect_only),
  28. first_only(_first_only),
  29. stitch_all(_stitch_all){};
  30. };
  31. }
  32. }
  33. }
  34. #endif