0023258: Missing parenthesis
[occt.git] / src / TopOpeBRepDS / TopOpeBRepDS_EdgeVertexInterference.cxx
1 // Created on: 1994-10-28
2 // Created by: Jean Yves LEBEY
3 // Copyright (c) 1994-1999 Matra Datavision
4 // Copyright (c) 1999-2012 OPEN CASCADE SAS
5 //
6 // The content of this file is subject to the Open CASCADE Technology Public
7 // License Version 6.5 (the "License"). You may not use the content of this file
8 // except in compliance with the License. Please obtain a copy of the License
9 // at http://www.opencascade.org and read it completely before using this file.
10 //
11 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 //
14 // The Original Code and all software distributed under the License is
15 // distributed on an "AS IS" basis, without warranty of any kind, and the
16 // Initial Developer hereby disclaims all such warranties, including without
17 // limitation, any warranties of merchantability, fitness for a particular
18 // purpose or non-infringement. Please see the License for the specific terms
19 // and conditions governing the rights and limitations under the License.
20
21
22
23 #include <TopOpeBRepDS_EdgeVertexInterference.ixx>
24 #include <TopOpeBRepDS_Kind.hxx>
25
26 //=======================================================================
27 //function : TopOpeBRepDS_EdgeVertexInterference
28 //purpose  : 
29 //=======================================================================
30
31 TopOpeBRepDS_EdgeVertexInterference::TopOpeBRepDS_EdgeVertexInterference
32   (const TopOpeBRepDS_Transition& T, 
33    const TopOpeBRepDS_Kind        ST,
34    const Standard_Integer         S, 
35    const Standard_Integer         G,
36    const Standard_Boolean         GIsBound, 
37    const TopOpeBRepDS_Config      C,
38    const Standard_Real            P) :
39   TopOpeBRepDS_ShapeShapeInterference
40   (T,ST,S,TopOpeBRepDS_VERTEX,G,GIsBound,C),
41   myParam(P)
42 {
43 }
44
45 //=======================================================================
46 //function : TopOpeBRepDS_EdgeVertexInterference
47 //purpose  : 
48 //=======================================================================
49
50 TopOpeBRepDS_EdgeVertexInterference::TopOpeBRepDS_EdgeVertexInterference
51   (const TopOpeBRepDS_Transition& T, 
52    const Standard_Integer         S, 
53    const Standard_Integer         G,
54    const Standard_Boolean         GIsBound, 
55    const TopOpeBRepDS_Config      C,
56    const Standard_Real            P) :
57   TopOpeBRepDS_ShapeShapeInterference
58   (T,TopOpeBRepDS_EDGE,S,TopOpeBRepDS_VERTEX,G,GIsBound,C),
59   myParam(P)
60 {
61 }
62
63
64 //=======================================================================
65 //function : Parameter
66 //purpose  : 
67 //=======================================================================
68
69 Standard_Real  TopOpeBRepDS_EdgeVertexInterference::Parameter()const 
70 {
71   return myParam;
72 }
73
74
75 //=======================================================================
76 //function : Parameter
77 //purpose  : 
78 //=======================================================================
79
80 void  TopOpeBRepDS_EdgeVertexInterference::Parameter(const Standard_Real P)
81 {
82   myParam = P;
83 }
84
85
86 //=======================================================================
87 //function : Dump
88 //purpose  : 
89 //=======================================================================
90
91 Standard_OStream& TopOpeBRepDS_EdgeVertexInterference::Dump
92   (Standard_OStream& OS) const
93 {
94 #ifdef DEB
95   OS<<"EVI"<<" ";
96   TopOpeBRepDS_ShapeShapeInterference::Dump(OS);
97   OS<<" "<<myParam<<" ";
98 #endif
99
100   return OS;
101 }