1 // File generated by CPPExt (Value)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #ifndef _NMTTools_CoupleOfShape_HeaderFile
16 #define _NMTTools_CoupleOfShape_HeaderFile
18 #ifndef _TopoDS_Shape_HeaderFile
19 #include <TopoDS_Shape.hxx>
24 #ifndef _Standard_HeaderFile
25 #include <Standard.hxx>
27 #ifndef _Standard_Macro_HeaderFile
28 #include <Standard_Macro.hxx>
31 class NMTTools_CoupleOfShape {
35 void* operator new(size_t,void* anAddress)
39 void* operator new(size_t size)
41 return Standard::Allocate(size);
43 void operator delete(void *anAddress)
45 if (anAddress) Standard::Free((Standard_Address&)anAddress);
49 Standard_EXPORT NMTTools_CoupleOfShape();
50 Standard_EXPORT void SetShape1(const TopoDS_Shape& aS) ;
51 Standard_EXPORT void SetShape2(const TopoDS_Shape& aS) ;
52 Standard_EXPORT const TopoDS_Shape& Shape1() const;
53 Standard_EXPORT const TopoDS_Shape& Shape2() const;
67 TopoDS_Shape myShape1;
68 TopoDS_Shape myShape2;
87 // other Inline functions and methods (like "C++: function call" methods)