summaryrefslogtreecommitdiff
path: root/inc/BRepFill.hxx
blob: 46a64f0995ad18546269bbc388457c33f4951dbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _BRepFill_HeaderFile
#define _BRepFill_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
class TopoDS_Face;
class TopoDS_Edge;
class TopoDS_Shell;
class TopoDS_Wire;
class TopoDS_Shape;
class gp_Ax3;
class gp_Pnt;
class gp_Vec;
class TColStd_Array1OfReal;
class BRepFill_Generator;
class BRepFill_SectionLaw;
class BRepFill_ShapeLaw;
class BRepFill_NSections;
class BRepFill_Draft;
class BRepFill_LocationLaw;
class BRepFill_DraftLaw;
class BRepFill_Edge3DLaw;
class BRepFill_EdgeOnSurfLaw;
class BRepFill_ACRLaw;
class BRepFill_Pipe;
class BRepFill_PipeShell;
class BRepFill_Evolved;
class BRepFill_Sweep;
class BRepFill_CompatibleWires;
class BRepFill_OffsetWire;
class BRepFill_OffsetAncestors;
class BRepFill_ListOfOffsetWire;
class BRepFill_ApproxSeewing;
class BRepFill_MultiLine;
class BRepFill_MultiLineTool;
class BRepFill_ComputeCLine;
class BRepFill_TrimSurfaceTool;
class BRepFill_TrimEdgeTool;
class BRepFill_SectionPlacement;
class BRepFill_Section;
class BRepFill_TrimShellCorner;
class BRepFill_SequenceOfSection;
class BRepFill_DataMapOfNodeDataMapOfShapeShape;
class BRepFill_DataMapOfNodeShape;
class BRepFill_DataMapOfShapeDataMapOfShapeListOfShape;
class BRepFill_DataMapOfShapeSequenceOfReal;
class BRepFill_DataMapOfShapeSequenceOfPnt;
class BRepFill_DataMapOfOrientedShapeListOfShape;
class BRepFill_IndexedDataMapOfOrientedShapeListOfShape;
class BRepFill_CurveConstraint;
class BRepFill_Filling;
class BRepFill_FaceAndOrder;
class BRepFill_EdgeFaceAndOrder;
class BRepFill_SequenceOfFaceAndOrder;
class BRepFill_SequenceOfEdgeFaceAndOrder;
class BRepFill_ListNodeOfListOfOffsetWire;
class BRepFill_ListIteratorOfListOfOffsetWire;
class BRepFill_MyLeastSquareOfComputeCLine;
class BRepFill_SequenceNodeOfSequenceOfSection;
class BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape;
class BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape;
class BRepFill_DataMapNodeOfDataMapOfNodeShape;
class BRepFill_DataMapIteratorOfDataMapOfNodeShape;
class BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape;
class BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape;
class BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal;
class BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal;
class BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt;
class BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt;
class BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape;
class BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape;
class BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape;
class BRepFill_SequenceNodeOfSequenceOfFaceAndOrder;
class BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder;



class BRepFill  {
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); 
  }

  
  Standard_EXPORT   static  TopoDS_Face Face(const TopoDS_Edge& Edge1,const TopoDS_Edge& Edge2) ;
  
  Standard_EXPORT   static  TopoDS_Shell Shell(const TopoDS_Wire& Wire1,const TopoDS_Wire& Wire2) ;
  //! Computes  <AxeProf>  as Follow. <Location> is <br>
//!          the Position of the nearest vertex V  of <Profile> <br>
//!          to <Spine>.<XDirection> is confused with the tangent <br>
//!          to <Spine> at the projected point of V on the Spine. <br>
//!          <Direction> is normal to <Spine>. <br>
//!          <Spine> is a plane wire or a plane face. <br>
  Standard_EXPORT   static  void Axe(const TopoDS_Shape& Spine,const TopoDS_Wire& Profile,gp_Ax3& AxeProf,Standard_Boolean& ProfOnSpine,const Standard_Real Tol) ;
  //!  Compute ACR on a  wire <br>
  Standard_EXPORT   static  void ComputeACR(const TopoDS_Wire& wire,TColStd_Array1OfReal& ACR) ;
  
  Standard_EXPORT   static  TopoDS_Wire InsertACR(const TopoDS_Wire& wire,const TColStd_Array1OfReal& ACRcuts,const Standard_Real prec) ;





protected:





private:

  //! Computes origins and orientation on a closed wire <br>
  Standard_EXPORT   static  void SearchOrigin(TopoDS_Wire& W,const gp_Pnt& P,const gp_Vec& V,const Standard_Real Tol) ;



friend class BRepFill_Generator;
friend class BRepFill_SectionLaw;
friend class BRepFill_ShapeLaw;
friend class BRepFill_NSections;
friend class BRepFill_Draft;
friend class BRepFill_LocationLaw;
friend class BRepFill_DraftLaw;
friend class BRepFill_Edge3DLaw;
friend class BRepFill_EdgeOnSurfLaw;
friend class BRepFill_ACRLaw;
friend class BRepFill_Pipe;
friend class BRepFill_PipeShell;
friend class BRepFill_Evolved;
friend class BRepFill_Sweep;
friend class BRepFill_CompatibleWires;
friend class BRepFill_OffsetWire;
friend class BRepFill_OffsetAncestors;
friend class BRepFill_ListOfOffsetWire;
friend class BRepFill_ApproxSeewing;
friend class BRepFill_MultiLine;
friend class BRepFill_MultiLineTool;
friend class BRepFill_ComputeCLine;
friend class BRepFill_TrimSurfaceTool;
friend class BRepFill_TrimEdgeTool;
friend class BRepFill_SectionPlacement;
friend class BRepFill_Section;
friend class BRepFill_TrimShellCorner;
friend class BRepFill_SequenceOfSection;
friend class BRepFill_DataMapOfNodeDataMapOfShapeShape;
friend class BRepFill_DataMapOfNodeShape;
friend class BRepFill_DataMapOfShapeDataMapOfShapeListOfShape;
friend class BRepFill_DataMapOfShapeSequenceOfReal;
friend class BRepFill_DataMapOfShapeSequenceOfPnt;
friend class BRepFill_DataMapOfOrientedShapeListOfShape;
friend class BRepFill_IndexedDataMapOfOrientedShapeListOfShape;
friend class BRepFill_CurveConstraint;
friend class BRepFill_Filling;
friend class BRepFill_FaceAndOrder;
friend class BRepFill_EdgeFaceAndOrder;
friend class BRepFill_SequenceOfFaceAndOrder;
friend class BRepFill_SequenceOfEdgeFaceAndOrder;
friend class BRepFill_ListNodeOfListOfOffsetWire;
friend class BRepFill_ListIteratorOfListOfOffsetWire;
friend class BRepFill_MyLeastSquareOfComputeCLine;
friend class BRepFill_SequenceNodeOfSequenceOfSection;
friend class BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape;
friend class BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape;
friend class BRepFill_DataMapNodeOfDataMapOfNodeShape;
friend class BRepFill_DataMapIteratorOfDataMapOfNodeShape;
friend class BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape;
friend class BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape;
friend class BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal;
friend class BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal;
friend class BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt;
friend class BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt;
friend class BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape;
friend class BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape;
friend class BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape;
friend class BRepFill_SequenceNodeOfSequenceOfFaceAndOrder;
friend class BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder;

};





// other Inline functions and methods (like "C++: function call" methods)


#endif