1 // Copyright (c) 2006-2009 Max-Planck-Institute Saarbruecken (Germany).
2 // All rights reserved.
3 //
4 // This file is part of CGAL (www.cgal.org)
5 //
6 // $URL: https://github.com/CGAL/cgal/blob/v5.3/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/enums.h $
7 // $Id: enums.h 26355e2 2020-06-25T12:31:21+02:00 Mael Rouxel-Labbé
8 // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
9 //
10 //
11 // Author(s)     : Michael Kerber <mkerber@mpi-inf.mpg.de>
12 //
13 // ============================================================================
14 
15 
16 #ifndef CGAL_ACK_ENUMS_H
17 #define CGAL_ACK_ENUMS_H 1
18 
19 namespace CGAL {
20 
21 namespace internal {
22 
23   enum Three_valued {
24 
25     ROOT_OF_FIRST_SET = 1,
26     ROOT_OF_BOTH_SETS = 0,
27     ROOT_OF_SECOND_SET=-1
28 
29   };
30 
31 } // namespace internal
32 
33 /*!
34  * \brief represents different strategies how to handle
35  * degenerate cases during the analysis
36  *
37  * Currently, there are two possible strategies implemented. See the
38  * constructor of \c Curve_analysis_2 for more details.
39  */
40 enum Degeneracy_strategy {
41 
42     SHEAR_STRATEGY = 0,
43     EXCEPTION_STRATEGY = 1,
44     SHEAR_ONLY_AT_IRRATIONAL_STRATEGY = 2
45 };
46 
47 } //namespace CGAL
48 
49 #endif
50