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 _NMTAlgo_Loop3d_HeaderFile
16 #define _NMTAlgo_Loop3d_HeaderFile
18 #ifndef _TopTools_ListOfShape_HeaderFile
19 #include <TopTools_ListOfShape.hxx>
21 #ifndef _TopTools_IndexedDataMapOfShapeListOfShape_HeaderFile
22 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
24 #ifndef _Standard_Boolean_HeaderFile
25 #include <Standard_Boolean.hxx>
27 #ifndef _Standard_Real_HeaderFile
28 #include <Standard_Real.hxx>
31 class TopTools_ListOfShape;
32 class TopTools_MapOfOrientedShape;
38 #ifndef _Standard_HeaderFile
39 #include <Standard.hxx>
41 #ifndef _Standard_Macro_HeaderFile
42 #include <Standard_Macro.hxx>
45 class NMTAlgo_Loop3d {
49 void* operator new(size_t,void* anAddress)
53 void* operator new(size_t size)
55 return Standard::Allocate(size);
57 void operator delete(void *anAddress)
59 if (anAddress) Standard::Free((Standard_Address&)anAddress);
63 Standard_EXPORT NMTAlgo_Loop3d();
64 Standard_EXPORT void AddConstFaces(const TopoDS_Shape& S) ;
65 Standard_EXPORT void AddSectionFaces(const TopoDS_Shape& S) ;
66 Standard_EXPORT const TopTools_ListOfShape& MakeShells(const TopTools_MapOfOrientedShape& AvoidFacesMap) ;
67 Standard_EXPORT static Standard_Boolean IsInside(const TopoDS_Edge& E,const TopoDS_Face& F1,const TopoDS_Face& F2,const Standard_Boolean CountDot,Standard_Real& Dot,Standard_Boolean& GoodOri) ;
68 Standard_EXPORT static gp_Vec Normal(const TopoDS_Edge& E,const TopoDS_Face& F) ;
92 TopTools_ListOfShape myNewShells;
93 TopTools_ListOfShape myFaces;
94 TopTools_IndexedDataMapOfShapeListOfShape myEFMap;
103 // other Inline functions and methods (like "C++: function call" methods)