22 #ifndef _AdvancedEngine_IOperations_HXX_
23 #define _AdvancedEngine_IOperations_HXX_
31 #include <TopTools_ListOfShape.hxx>
32 #include <Geom_Surface.hxx>
51 double theR1,
double theW1,
double theL1,
52 double theR2,
double theW2,
double theL2,
53 double theH = 0,
double theW = 0,
54 double theRF = 0,
bool isNormal =
true);
57 double theR1,
double theW1,
double theL1,
58 double theR2,
double theW2,
double theL2);
61 double theR1,
double theW1,
double theL1,
62 double theR2,
double theW2,
double theL2,
63 double theRL,
double theWL,
double theLtransL,
double theLthinL,
64 double theRR,
double theWR,
double theLtransR,
double theLthinR,
65 double theRI,
double theWI,
double theLtransI,
double theLthinI);
68 double theR1,
double theW1,
double theL1,
69 double theR2,
double theW2,
double theL2,
70 double theH,
double theW,
double theRF,
71 Handle(TColStd_HSequenceOfTransient) theSeq,
74 bool GetFacesOnSurf(
const TopoDS_Shape &theShape,
75 const Handle(Geom_Surface)& theSurface,
76 const Standard_Real theTolerance,
77 TopTools_ListOfShape &theFaces);
79 TopoDS_Shape MakeConicalFace(
const gp_Ax2 &theAxis,
80 const double theRadius,
81 const double theRadiusThin,
82 const double theHeight,
83 const gp_Trsf &theTrsf);
86 const double theR1,
const double theLen1,
87 const double theR2,
const double theLen2,
88 const double theRL,
const double theTransLenL,
89 const double theRR,
const double theTransLenR,
90 const double theRI,
const double theTransLenI,
91 const Handle(TColStd_HSequenceOfTransient) &theSeq,
92 const gp_Trsf &theTrsf);
94 gp_Trsf GetPositionTrsf(
double theL1,
double theL2,
99 bool CheckCompatiblePosition(
double& theL1,
double& theL2,
103 double theTolerance);
135 static TopoDS_Shape MakePipeTShapeThicknessReduction
136 (TopoDS_Shape theShape,
137 double r1,
double w1,
double l1,
138 double r2,
double w2,
double l2,
139 double rL,
double wL,
double ltransL,
double lthinL,
140 double rR,
double wR,
double ltransR,
double lthinR,
141 double rI,
double wI,
double ltransI,
double lthinI,
142 bool fuseReductions);
161 static TopoDS_Shape MakeThicknessReduction (gp_Ax2 theAxes,
162 const double R,
const double W,
163 const double Rthin,
const double Wthin,
164 const double Ltrans,
const double Lthin,
171 Handle(TColStd_HSequenceOfTransient)
172 MakePipeTShape(
double theR1,
double theW1,
double theL1,
173 double theR2,
double theW2,
double theL2,
174 double theRL,
double theWL,
double theLtransL,
double theLthinL,
175 double theRR,
double theWR,
double theLtransR,
double theLthinR,
176 double theRI,
double theWI,
double theLtransI,
double theLthinI,
177 bool theHexMesh = true);
179 Handle(TColStd_HSequenceOfTransient)
180 MakePipeTShapeWithPosition(
double theR1,
double theW1,
double theL1,
181 double theR2,
double theW2,
double theL2,
182 double theRL,
double theWL,
double theLtransL,
double theLthinL,
183 double theRR,
double theWR,
double theLtransR,
double theLthinR,
184 double theRI,
double theWI,
double theLtransI,
double theLthinI,
185 bool theHexMesh = true,
190 Handle(TColStd_HSequenceOfTransient)
191 MakePipeTShapeChamfer(
double theR1,
double theW1,
double theL1,
192 double theR2,
double theW2,
double theL2,
193 double theRL,
double theWL,
double theLtransL,
double theLthinL,
194 double theRR,
double theWR,
double theLtransR,
double theLthinR,
195 double theRI,
double theWI,
double theLtransI,
double theLthinI,
196 double theH,
double theW,
197 bool theHexMesh = true);
199 Handle(TColStd_HSequenceOfTransient)
200 MakePipeTShapeChamferWithPosition(
double theR1,
double theW1,
double theL1,
201 double theR2,
double theW2,
double theL2,
202 double theH,
double theW,
203 double theRL,
double theWL,
double theLtransL,
double theLthinL,
204 double theRR,
double theWR,
double theLtransR,
double theLthinR,
205 double theRI,
double theWI,
double theLtransI,
double theLthinI,
206 bool theHexMesh = true,
211 Handle(TColStd_HSequenceOfTransient)
212 MakePipeTShapeFillet(
double theR1,
double theW1,
double theL1,
213 double theR2,
double theW2,
double theL2,
214 double theRL,
double theWL,
double theLtransL,
double theLthinL,
215 double theRR,
double theWR,
double theLtransR,
double theLthinR,
216 double theRI,
double theWI,
double theLtransI,
double theLthinI,
217 double theRF,
bool theHexMesh = true);
219 Handle(TColStd_HSequenceOfTransient)
220 MakePipeTShapeFilletWithPosition(
double theR1,
double theW1,
double theL1,
221 double theR2,
double theW2,
double theL2,
222 double theRL,
double theWL,
double theLtransL,
double theLthinL,
223 double theRR,
double theWR,
double theLtransR,
double theLthinR,
224 double theRI,
double theWI,
double theLtransI,
double theLthinI,
225 double theRF,
bool theHexMesh = true,
231 int theOrientation,
int thePattern);