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 _Partition_Loop_HeaderFile
16 #define _Partition_Loop_HeaderFile
18 #ifndef _TopoDS_Face_HeaderFile
19 #include <TopoDS_Face.hxx>
21 #ifndef _TopTools_ListOfShape_HeaderFile
22 #include <TopTools_ListOfShape.hxx>
24 #ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile
25 #include <TopTools_DataMapOfShapeListOfShape.hxx>
29 class TopTools_ListOfShape;
32 #ifndef _Standard_HeaderFile
33 #include <Standard.hxx>
35 #ifndef _Standard_Macro_HeaderFile
36 #include <Standard_Macro.hxx>
39 class Partition_Loop {
43 inline void* operator new(size_t,void* anAddress)
47 inline void* operator new(size_t size)
49 return Standard::Allocate(size);
51 inline void operator delete(void *anAddress)
53 if (anAddress) Standard::Free((Standard_Address&)anAddress);
55 // inline void operator delete(void *anAddress, size_t size)
57 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
61 Standard_EXPORT Partition_Loop();
62 Standard_EXPORT void Init(const TopoDS_Face& F) ;
63 Standard_EXPORT void AddConstEdge(const TopoDS_Edge& E) ;
64 Standard_EXPORT void Perform() ;
65 Standard_EXPORT const TopTools_ListOfShape& NewWires() const;
66 Standard_EXPORT void WiresToFaces() ;
67 Standard_EXPORT const TopTools_ListOfShape& NewFaces() const;
91 TopTools_ListOfShape myConstEdges;
92 TopTools_ListOfShape myNewWires;
93 TopTools_ListOfShape myNewFaces;
102 // other inline functions and methods (like "C++: function call" methods)