Salome HOME
NRI : First integration.
[modules/geom.git] / src / PARTITION / Partition_Inter2d.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
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.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _Partition_Inter2d_HeaderFile
16 #define _Partition_Inter2d_HeaderFile
17
18 #ifndef _Handle_BRepAlgo_AsDes_HeaderFile
19 #include <Handle_BRepAlgo_AsDes.hxx>
20 #endif
21 #ifndef _Standard_Real_HeaderFile
22 #include <Standard_Real.hxx>
23 #endif
24 #ifndef _Standard_Boolean_HeaderFile
25 #include <Standard_Boolean.hxx>
26 #endif
27 class BRepAlgo_AsDes;
28 class TopoDS_Face;
29 class TopTools_MapOfShape;
30 class TopoDS_Vertex;
31 class TopTools_ListOfShape;
32 class TopoDS_Edge;
33
34
35 #ifndef _Standard_HeaderFile
36 #include <Standard.hxx>
37 #endif
38 #ifndef _Standard_Macro_HeaderFile
39 #include <Standard_Macro.hxx>
40 #endif
41
42 class Partition_Inter2d  {
43
44 public:
45
46     void* operator new(size_t,void* anAddress) 
47       {
48         return anAddress;
49       }
50     void* operator new(size_t size) 
51       { 
52         return Standard::Allocate(size); 
53       }
54     void  operator delete(void *anAddress) 
55       { 
56         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
57       }
58  // Methods PUBLIC
59  // 
60 Standard_EXPORT static  void CompletPart2d(const Handle(BRepAlgo_AsDes)& AsDes,const TopoDS_Face& F,const TopTools_MapOfShape& NewEdges) ;
61 Standard_EXPORT static  TopoDS_Vertex FindEndVertex(const TopTools_ListOfShape& VertList,const Standard_Real f,const Standard_Real l,const TopoDS_Edge& E,Standard_Boolean& First,Standard_Real& DU) ;
62 Standard_EXPORT static  TopoDS_Vertex AddVonE(const TopoDS_Vertex& V,const TopoDS_Edge& E1,const TopoDS_Edge& E2,const Handle(BRepAlgo_AsDes)& AsDes) ;
63
64
65
66
67
68 protected:
69
70  // Methods PROTECTED
71  // 
72
73
74  // Fields PROTECTED
75  //
76
77
78 private: 
79
80  // Methods PRIVATE
81  // 
82
83
84  // Fields PRIVATE
85  //
86
87
88 };
89
90
91
92
93
94 // other Inline functions and methods (like "C++: function call" methods)
95 //
96
97
98 #endif