exactinit.h 880 B

1234567891011121314151617181920212223242526272829303132
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2019 Qingnan Zhou <[email protected]>
  4. // Copyright (C) 2025 Alec Jacobson <[email protected]>
  5. //
  6. // This Source Code Form is subject to the terms of the Mozilla Public License
  7. // v. 2.0. If a copy of the MPL was not distributed with this file, You can
  8. // obtain one at http://mozilla.org/MPL/2.0/.
  9. #pragma once
  10. #ifndef IGL_PREDICATES_EXACTINIT_H
  11. #define IGL_PREDICATES_EXACTINIT_H
  12. #include "../igl_inline.h"
  13. #include <Eigen/Core>
  14. namespace igl {
  15. namespace predicates {
  16. /// Initialize internal variable used by predciates. Must be called before
  17. /// using exact predicates. It is safe to call this function from multiple
  18. /// threads.
  19. ///
  20. /// \fileinfo
  21. IGL_INLINE void exactinit();
  22. }
  23. }
  24. #ifndef IGL_STATIC_LIBRARY
  25. #include "exactinit.cpp"
  26. #endif
  27. #endif