RemeshSelfIntersectionsParam.h 971 B

12345678910111213141516171819202122232425262728293031
  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. RemeshSelfIntersectionsParam():detect_only(false),first_only(false){};
  23. RemeshSelfIntersectionsParam(bool _detect_only, bool _first_only):
  24. detect_only(_detect_only),first_only(_first_only){};
  25. };
  26. }
  27. }
  28. }
  29. #endif