0032437: Coding Rules - eliminate MinGW warning -Wmaybe-uninitialized
[occt.git] / src / TopOpeBRepDS / TopOpeBRepDS_ShapeShapeInterference.cxx
1 // Created on: 1994-08-30
2 // Created by: Jean Yves LEBEY
3 // Copyright (c) 1994-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17
18 #include <Standard_Type.hxx>
19 #include <TCollection_AsciiString.hxx>
20 #include <TopOpeBRepDS.hxx>
21 #include <TopOpeBRepDS_ShapeShapeInterference.hxx>
22 #include <TopOpeBRepDS_Transition.hxx>
23
24 IMPLEMENT_STANDARD_RTTIEXT(TopOpeBRepDS_ShapeShapeInterference,TopOpeBRepDS_Interference)
25
26 //=======================================================================
27 //function : TopOpeBRepDS_ShapeShapeInterference
28 //purpose  : 
29 //=======================================================================
30 TopOpeBRepDS_ShapeShapeInterference::TopOpeBRepDS_ShapeShapeInterference
31   (const TopOpeBRepDS_Transition& T,
32    const TopOpeBRepDS_Kind        ST, 
33    const Standard_Integer         S, 
34    const TopOpeBRepDS_Kind        GT, 
35    const Standard_Integer         G, 
36    const Standard_Boolean         GBound, 
37    const TopOpeBRepDS_Config      C) :
38    TopOpeBRepDS_Interference(T,ST,S,GT,G),
39    myGBound(GBound),
40    myC(C)
41 {
42 }
43
44
45 //=======================================================================
46 //function : Config
47 //purpose  : 
48 //=======================================================================
49
50 TopOpeBRepDS_Config TopOpeBRepDS_ShapeShapeInterference::Config()const 
51 { return myC; }
52
53
54 //=======================================================================
55 //function : GBound
56 //purpose  : 
57 //=======================================================================
58
59 Standard_Boolean TopOpeBRepDS_ShapeShapeInterference::GBound()const 
60 { return myGBound; }
61
62 //=======================================================================
63 //function : SetGBound
64 //purpose  : 
65 //=======================================================================
66
67 void TopOpeBRepDS_ShapeShapeInterference::SetGBound(const Standard_Boolean b)
68 { myGBound = b; }