Orientation.h 843 B

123456789101112131415161718192021222324252627282930
  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_ORIENTATION_H
  11. #define IGL_PREDICATES_ORIENTATION_H
  12. #include "../igl_inline.h"
  13. #include <Eigen/Core>
  14. namespace igl {
  15. namespace predicates {
  16. /// Types of orientations and other predicate results.
  17. ///
  18. /// \fileinfo
  19. enum class Orientation {
  20. POSITIVE=1, INSIDE=1,
  21. NEGATIVE=-1, OUTSIDE=-1,
  22. COLLINEAR=0, COPLANAR=0, COCIRCULAR=0, COSPHERICAL=0, DEGENERATE=0
  23. };
  24. }
  25. }
  26. #endif