// 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_Tools_HeaderFile #define _NMTTools_Tools_HeaderFile #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_Geom2d_Curve_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class TopTools_ListOfShape; class TopoDS_Vertex; class BOPTools_CArray1OfVVInterference; class BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger; class BOPTools_CArray1OfSSInterference; class TopoDS_Edge; class TopoDS_Face; class IntTools_Context; class NMTTools_ListOfCoupleOfShape; class NMTTools_IndexedDataMapOfShapeIndexedMapOfShape; class Geom2d_Curve; #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif class NMTTools_Tools { 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 static void MakeNewVertex(const TopTools_ListOfShape& aLV,TopoDS_Vertex& aNewVertex) ; Standard_EXPORT static void FindChains(const BOPTools_CArray1OfVVInterference& aVVs,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ; Standard_EXPORT static void FindChains(const BOPTools_CArray1OfSSInterference& aVVs,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ; Standard_EXPORT static void FindChains(const BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCV,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ; Standard_EXPORT static Standard_Boolean IsSplitInOnFace(const TopoDS_Edge& aE,const TopoDS_Face& aF,IntTools_Context& aCtx) ; Standard_EXPORT static Standard_Boolean AreFacesSameDomain(const TopoDS_Face& aF1,const TopoDS_Face& aF2,IntTools_Context& aCtx) ; Standard_EXPORT static void FindChains(const NMTTools_ListOfCoupleOfShape& aLCS,NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM) ; Standard_EXPORT static void FindChains(const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM1,NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM2) ; Standard_EXPORT static void MakePCurve(const TopoDS_Edge& aE,const TopoDS_Face& aF,const Handle(Geom2d_Curve)& aC2D,const Standard_Real aTolR2D) ; protected: // Methods PROTECTED // // Fields PROTECTED // private: // Methods PRIVATE // // Fields PRIVATE // }; // other Inline functions and methods (like "C++: function call" methods) // #endif