]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.hxx
Salome HOME
Modified a method createAndDisplayGO
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_CoupleOfShapes.hxx
1 // File generated by CPPExt (Value)
2 //
3 //                     Copyright (C) 1991 - 2000 by  
4 //                      Matra Datavision SA.  All rights reserved.
5 //  
6 //                     Copyright (C) 2001 - 2004 by
7 //                     Open CASCADE SA.  All rights reserved.
8 // 
9 // This file is part of the Open CASCADE Technology software.
10 //
11 // This software may be distributed and/or modified under the terms and
12 // conditions of the Open CASCADE Public License as defined by Open CASCADE SA
13 // and appearing in the file LICENSE included in the packaging of this file.
14 //  
15 // This software is distributed on an "AS IS" basis, without warranty of any
16 // kind, and Open CASCADE SA hereby disclaims all such warranties,
17 // including without limitation, any warranties of merchantability, fitness
18 // for a particular purpose or non-infringement. Please see the License for
19 // the specific terms and conditions governing rights and limitations under the
20 // License.
21
22 #ifndef _GEOMAlgo_CoupleOfShapes_HeaderFile
23 #define _GEOMAlgo_CoupleOfShapes_HeaderFile
24
25 #ifndef _TopoDS_Shape_HeaderFile
26 #include <TopoDS_Shape.hxx>
27 #endif
28 class TopoDS_Shape;
29
30
31 #ifndef _Standard_HeaderFile
32 #include <Standard.hxx>
33 #endif
34 #ifndef _Standard_Macro_HeaderFile
35 #include <Standard_Macro.hxx>
36 #endif
37
38 class GEOMAlgo_CoupleOfShapes  {
39
40 public:
41
42     void* operator new(size_t,void* anAddress) 
43       {
44         return anAddress;
45       }
46     void* operator new(size_t size) 
47       { 
48         return Standard::Allocate(size); 
49       }
50     void  operator delete(void *anAddress) 
51       { 
52         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
53       }
54  // Methods PUBLIC
55  // 
56 Standard_EXPORT GEOMAlgo_CoupleOfShapes();
57 Standard_EXPORT   void SetShapes(const TopoDS_Shape& aS1,const TopoDS_Shape& aS2) ;
58 Standard_EXPORT   void SetShape1(const TopoDS_Shape& aS1) ;
59 Standard_EXPORT   void SetShape2(const TopoDS_Shape& aS2) ;
60 Standard_EXPORT   void Shapes(TopoDS_Shape& aS1,TopoDS_Shape& aS2) const;
61 Standard_EXPORT  const TopoDS_Shape& Shape1() const;
62 Standard_EXPORT  const TopoDS_Shape& Shape2() const;
63
64
65
66
67
68 protected:
69
70  // Methods PROTECTED
71  // 
72
73
74  // Fields PROTECTED
75  //
76 TopoDS_Shape myShape1;
77 TopoDS_Shape myShape2;
78
79
80 private: 
81
82  // Methods PRIVATE
83  // 
84
85
86  // Fields PRIVATE
87  //
88
89
90 };
91
92
93
94
95
96 // other Inline functions and methods (like "C++: function call" methods)
97 //
98
99
100 #endif