0024002: Overall code and build procedure refactoring -- automatic
[occt.git] / src / BOPAlgo / BOPAlgo_ArgumentAnalyzer.lxx
1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14 inline Standard_Boolean& BOPAlgo_ArgumentAnalyzer::ArgumentTypeMode() 
15 {
16   return myArgumentTypeMode;
17 }
18
19  
20 inline Standard_Boolean& BOPAlgo_ArgumentAnalyzer::SelfInterMode() 
21 {
22   return mySelfInterMode;
23 }
24
25  
26 inline Standard_Boolean& BOPAlgo_ArgumentAnalyzer::SmallEdgeMode() 
27 {
28   return mySmallEdgeMode;
29 }
30
31  
32 inline Standard_Boolean& BOPAlgo_ArgumentAnalyzer::RebuildFaceMode() 
33 {
34   return myRebuildFaceMode;
35 }
36
37  
38 inline Standard_Boolean& BOPAlgo_ArgumentAnalyzer::TangentMode() 
39 {
40   return myTangentMode;
41 }
42
43  
44 inline Standard_Boolean& BOPAlgo_ArgumentAnalyzer::MergeVertexMode() 
45 {
46   return myMergeVertexMode;
47 }
48
49  
50 inline Standard_Boolean& BOPAlgo_ArgumentAnalyzer::MergeEdgeMode() 
51 {
52   return myMergeEdgeMode;
53 }
54
55 inline Standard_Boolean& BOPAlgo_ArgumentAnalyzer::ContinuityMode() 
56 {
57   return myContinuityMode;
58 }
59
60 inline Standard_Boolean& BOPAlgo_ArgumentAnalyzer::CurveOnSurfaceMode() 
61 {
62   return myCurveOnSurfaceMode;
63 }
64 //=======================================================================
65 //function : SetFuzzyValue
66 //purpose  : 
67 //=======================================================================
68 inline void BOPAlgo_ArgumentAnalyzer::SetFuzzyValue(const Standard_Real theFuzz)
69 {
70   myFuzzyValue = (theFuzz < 0.) ? 0. : theFuzz;
71 }
72 //=======================================================================
73 //function : FuzzyValue
74 //purpose  : 
75 //=======================================================================
76 inline Standard_Real BOPAlgo_ArgumentAnalyzer::FuzzyValue() const
77 {
78   return myFuzzyValue;
79 }
80 // inline Standard_Boolean& BOPAlgo_ArgumentAnalyzer::MergeFaceMode() 
81 // {
82 //   return myMergeFaceMode;
83 // }