// File generated by CPPExt (Value) // Copyright (C) 1991,1995 by // // MATRA DATAVISION, FRANCE // // This software is furnished in accordance with the terms and conditions // of the contract and with the inclusion of the above copyright notice. // This software or any other copy thereof may not be provided or otherwise // be made available to any other person. No title to an ownership of the // software is hereby transferred. // // At the termination of the contract, the software and all copies of this // software must be deleted. #ifndef _NMTTools_CoupleOfShape_HeaderFile #define _NMTTools_CoupleOfShape_HeaderFile #ifndef _TopoDS_Shape_HeaderFile #include #endif class TopoDS_Shape; #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif class NMTTools_CoupleOfShape { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } // Methods PUBLIC // Standard_EXPORT NMTTools_CoupleOfShape(); Standard_EXPORT void SetShape1(const TopoDS_Shape& aS) ; Standard_EXPORT void SetShape2(const TopoDS_Shape& aS) ; Standard_EXPORT const TopoDS_Shape& Shape1() const; Standard_EXPORT const TopoDS_Shape& Shape2() const; protected: // Methods PROTECTED // // Fields PROTECTED // TopoDS_Shape myShape1; TopoDS_Shape myShape2; private: // Methods PRIVATE // // Fields PRIVATE // }; // other Inline functions and methods (like "C++: function call" methods) // #endif