Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
AdvancedEngine_IOperations Class Referenceabstract

#include <AdvancedEngine_IOperations.hxx>

Inheritance diagram for AdvancedEngine_IOperations:
Inheritance graph

Public Member Functions

 AdvancedEngine_IOperations (GEOM_Engine *theEngine, int theDocID)
 
 ~AdvancedEngine_IOperations ()
 
 Handle (TColStd_HSequenceOfTransient) MakePipeTShape(double theR1
 
 Handle (TColStd_HSequenceOfTransient) MakePipeTShapeWithPosition(double theR1
 
double double double double
double double double double
double double double double
double double double double
double bool 
Handle (GEOM_Object) P1=0
 
double double double double
double double double double
double double double double
double double double double
double bool 
Handle (GEOM_Object) P2=0
 
double double double double
double double double double
double double double double
double double double double
double bool 
Handle (GEOM_Object) P3=0)
 
 Handle (TColStd_HSequenceOfTransient) MakePipeTShapeChamfer(double theR1
 
 Handle (TColStd_HSequenceOfTransient) MakePipeTShapeChamferWithPosition(double theR1
 
double double double double
double double double double
double double double double
double double double double
double double double bool 
Handle (GEOM_Object) P1=0
 
double double double double
double double double double
double double double double
double double double double
double double double bool 
Handle (GEOM_Object) P2=0
 
double double double double
double double double double
double double double double
double double double double
double double double bool 
Handle (GEOM_Object) P3=0)
 
 Handle (TColStd_HSequenceOfTransient) MakePipeTShapeFillet(double theR1
 
 Handle (TColStd_HSequenceOfTransient) MakePipeTShapeFilletWithPosition(double theR1
 
double double double double
double double double double
double double double double
double double double double
double double bool 
Handle (GEOM_Object) P1=0
 
double double double double
double double double double
double double double double
double double double double
double double bool 
Handle (GEOM_Object) P2=0
 
double double double double
double double double double
double double double double
double double double double
double double bool 
Handle (GEOM_Object) P3=0)
 
 Handle (GEOM_Object) MakeDividedDisk(double theR
 
 Handle (GEOM_Object) MakeDividedDiskPntVecR(Handle(GEOM_Object) thePnt
 
 Handle (GEOM_Object) theVec
 
 Handle (GEOM_Object) MakeDividedCylinder(double theR
 
- Public Member Functions inherited from GEOM_IOperations
Standard_EXPORT GEOM_IOperations (GEOM_Engine *theEngine, int theDocID)
 
Standard_EXPORT ~GEOM_IOperations ()
 
Standard_EXPORT void StartOperation ()
 
Standard_EXPORT void FinishOperation ()
 
Standard_EXPORT void AbortOperation ()
 
Standard_EXPORT bool IsDone ()
 
Standard_EXPORT void SetNotDone ()
 
Standard_EXPORT void SetErrorCode (const TCollection_AsciiString &theErrorCode)
 
Standard_EXPORT char * GetErrorCode ()
 
Standard_EXPORT GEOM_EngineGetEngine ()
 
Standard_EXPORT GEOM_SolverGetSolver ()
 
Standard_EXPORT int GetDocID ()
 

Static Public Member Functions

static TopoDS_Shape MakePipeTShapeThicknessReduction (TopoDS_Shape theShape, double r1, double w1, double l1, double r2, double w2, double l2, double rL, double wL, double ltransL, double lthinL, double rR, double wR, double ltransR, double lthinR, double rI, double wI, double ltransI, double lthinI, bool fuseReductions)
 Add three thickness reductions at the open ends of the pipe T-Shape. More...
 
static TopoDS_Shape MakeThicknessReduction (gp_Ax2 theAxes, const double R, const double W, const double Rthin, const double Wthin, const double Ltrans, const double Lthin, bool fuse)
 Create one thickness reduction element. More...
 

Public Attributes

double theW1
 
double double theL1
 
double double double theR2
 
double double double double theW2
 
double double double double double theL2
 
double double double double
double double 
theRL
 
double double double double
double double double 
theWL
 
double double double double
double double double double 
theLtransL
 
double double double double
double double double double
double 
theLthinL
 
double double double double
double double double double
double double 
theRR
 
double double double double
double double double double
double double double 
theWR
 
double double double double
double double double double
double double double double 
theLtransR
 
double double double double
double double double double
double double double double
double 
theLthinR
 
double double double double
double double double double
double double double double
double double 
theRI
 
double double double double
double double double double
double double double double
double double double 
theWI
 
double double double double
double double double double
double double double double
double double double double 
theLtransI
 
double double double double
double double double double
double double double double
double double double double
double 
theLthinI
 
double double double double
double double double double
double double double double
double double double double
double bool 
theHexMesh = true)
 
double double double double
double double double double
double double double double
double double double double
double double 
theH
 
double double double double
double double double double
double double double double
double double double double
double double double 
theW
 
double double double double
double double double double
double double double double
double double double double
double double double bool 
theHexMesh = true)
 
double double double double
double double 
theH
 
double double double double
double double double 
theW
 
double double double double
double double double double 
theRL
 
double double double double
double double double double
double 
theWL
 
double double double double
double double double double
double double 
theLtransL
 
double double double double
double double double double
double double double 
theLthinL
 
double double double double
double double double double
double double double double 
theRR
 
double double double double
double double double double
double double double double
double 
theWR
 
double double double double
double double double double
double double double double
double double 
theLtransR
 
double double double double
double double double double
double double double double
double double double 
theLthinR
 
double double double double
double double double double
double double double double
double double double double 
theRI
 
double double double double
double double double double
double double double double
double double double double
double 
theWI
 
double double double double
double double double double
double double double double
double double double double
double double 
theLtransI
 
double double double double
double double double double
double double double double
double double double double
double double double 
theLthinI
 
double double double double
double double double double
double double double double
double double double double
double double 
theRF
 
double double double double
double double double double
double double double double
double double double double
double double bool 
theHexMesh = true)
 
double theRatio
 
double int theOrientation
 
double int int thePattern
 
double theR
 
double double theRatio
 
double double int thePattern
 
double theH
 
double int thePattern
 

Private Member Functions

bool MakePipeTShapePartition (Handle(GEOM_Object) theShape, double theR1, double theW1, double theL1, double theR2, double theW2, double theL2, double theH=0, double theW=0, double theRF=0, bool isNormal=true)
 
bool MakePipeTShapeMirrorAndGlue (Handle(GEOM_Object) theShape, double theR1, double theW1, double theL1, double theR2, double theW2, double theL2)
 
bool MakePipeTShapeThicknessReduction (Handle(GEOM_Object) theShape, double theR1, double theW1, double theL1, double theR2, double theW2, double theL2, double theRL, double theWL, double theLtransL, double theLthinL, double theRR, double theWR, double theLtransR, double theLthinR, double theRI, double theWI, double theLtransI, double theLthinI)
 
bool MakeGroups (Handle(GEOM_Object) theShape, int shapType, double theR1, double theW1, double theL1, double theR2, double theW2, double theL2, double theH, double theW, double theRF, Handle(TColStd_HSequenceOfTransient) theSeq, gp_Trsf aTrsf)
 
bool GetFacesOnSurf (const TopoDS_Shape &theShape, const Handle(Geom_Surface)&theSurface, const Standard_Real theTolerance, TopTools_ListOfShape &theFaces)
 
TopoDS_Shape MakeConicalFace (const gp_Ax2 &theAxis, const double theRadius, const double theRadiusThin, const double theHeight, const gp_Trsf &theTrsf)
 
bool MakeInternalGroup (const Handle(GEOM_Object)&theShape, const double theR1, const double theLen1, const double theR2, const double theLen2, const double theRL, const double theTransLenL, const double theRR, const double theTransLenR, const double theRI, const double theTransLenI, const Handle(TColStd_HSequenceOfTransient)&theSeq, const gp_Trsf &theTrsf)
 
gp_Trsf GetPositionTrsf (double theL1, double theL2, Handle(GEOM_Object) P1=0, Handle(GEOM_Object) P2=0, Handle(GEOM_Object) P3=0)
 
bool CheckCompatiblePosition (double &theL1, double &theL2, Handle(GEOM_Object) theP1, Handle(GEOM_Object) theP2, Handle(GEOM_Object) theP3, double theTolerance)
 

Private Attributes

GEOMImpl_IBasicOperationsmyBasicOperations
 
GEOMImpl_IBooleanOperationsmyBooleanOperations
 
GEOMImpl_IShapesOperationsmyShapesOperations
 
GEOMImpl_ITransformOperationsmyTransformOperations
 
GEOMImpl_IBlocksOperationsmyBlocksOperations
 
GEOMImpl_I3DPrimOperationsmy3DPrimOperations
 
GEOMImpl_ILocalOperationsmyLocalOperations
 
GEOMImpl_IHealingOperationsmyHealingOperations
 
GEOMImpl_IGroupOperationsmyGroupOperations
 

Constructor & Destructor Documentation

Member Function Documentation

bool AdvancedEngine_IOperations::CheckCompatiblePosition ( double &  theL1,
double &  theL2,
Handle(GEOM_Object theP1,
Handle(GEOM_Object theP2,
Handle(GEOM_Object theP3,
double  theTolerance 
)
private

CheckCompatiblePosition

References GEOM_Object::GetValue(), KO, OK, and GEOM_IOperations::SetErrorCode().

bool AdvancedEngine_IOperations::GetFacesOnSurf ( const TopoDS_Shape &  theShape,
const Handle(Geom_Surface)&  theSurface,
const Standard_Real  theTolerance,
TopTools_ListOfShape &  theFaces 
)
private
gp_Trsf AdvancedEngine_IOperations::GetPositionTrsf ( double  theL1,
double  theL2,
Handle(GEOM_Object theP1 = 0,
Handle(GEOM_Object theP2 = 0,
Handle(GEOM_Object theP3 = 0 
)
private

SetPosition

References GEOM_Object::GetValue().

AdvancedEngine_IOperations::Handle ( TColStd_HSequenceOfTransient  )
AdvancedEngine_IOperations::Handle ( TColStd_HSequenceOfTransient  )
double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::Handle ( GEOM_Object  )
pure virtual
double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::Handle ( GEOM_Object  )
pure virtual
double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::Handle ( GEOM_Object  )
pure virtual
AdvancedEngine_IOperations::Handle ( TColStd_HSequenceOfTransient  )
AdvancedEngine_IOperations::Handle ( TColStd_HSequenceOfTransient  )
double double double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::Handle ( GEOM_Object  )
pure virtual
double double double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::Handle ( GEOM_Object  )
pure virtual
double double double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::Handle ( GEOM_Object  )
pure virtual
AdvancedEngine_IOperations::Handle ( TColStd_HSequenceOfTransient  )
AdvancedEngine_IOperations::Handle ( TColStd_HSequenceOfTransient  )
double double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::Handle ( GEOM_Object  )
pure virtual
double double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::Handle ( GEOM_Object  )
pure virtual
double double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::Handle ( GEOM_Object  )
pure virtual
AdvancedEngine_IOperations::Handle ( GEOM_Object  )
AdvancedEngine_IOperations::Handle ( GEOM_Object  )
AdvancedEngine_IOperations::Handle ( GEOM_Object  )
AdvancedEngine_IOperations::Handle ( GEOM_Object  )
TopoDS_Shape AdvancedEngine_IOperations::MakeConicalFace ( const gp_Ax2 &  theAxis,
const double  theRadius,
const double  theRadiusThin,
const double  theHeight,
const gp_Trsf &  theTrsf 
)
private

Creates and returns conical face.

References aResult.

bool AdvancedEngine_IOperations::MakeGroups ( Handle(GEOM_Object theShape,
int  shapeType,
double  theR1,
double  theW1,
double  theL1,
double  theR2,
double  theW2,
double  theL2,
double  theH,
double  theW,
double  theRF,
Handle(TColStd_HSequenceOfTransient)  theSeq,
gp_Trsf  aTrsf 
)
private
bool AdvancedEngine_IOperations::MakeInternalGroup ( const Handle(GEOM_Object)&  theShape,
const double  theR1,
const double  theLen1,
const double  theR2,
const double  theLen2,
const double  theRL,
const double  theTransLenL,
const double  theRR,
const double  theTransLenR,
const double  theRI,
const double  theTransLenI,
const Handle(TColStd_HSequenceOfTransient)&  theSeq,
const gp_Trsf &  theTrsf 
)
private

Generate the internal group of a Pipe T-Shape

References anIndices, anIter(), aTol, GEOM_TSHAPE, AdvancedEngine_PipeTShapeDriver::GetID(), GEOM_Object::GetValue(), Handle(), KO, OK, and TSHAPE_BASIC.

bool AdvancedEngine_IOperations::MakePipeTShapeMirrorAndGlue ( Handle(GEOM_Object theShape,
double  theR1,
double  theW1,
double  theL1,
double  theR2,
double  theW2,
double  theL2 
)
private
bool AdvancedEngine_IOperations::MakePipeTShapePartition ( Handle(GEOM_Object theShape,
double  theR1,
double  theW1,
double  theL1,
double  theR2,
double  theW2,
double  theL2,
double  theH = 0,
double  theW = 0,
double  theRF = 0,
bool  isNormal = true 
)
private
bool AdvancedEngine_IOperations::MakePipeTShapeThicknessReduction ( Handle(GEOM_Object theShape,
double  theR1,
double  theW1,
double  theL1,
double  theR2,
double  theW2,
double  theL2,
double  theRL,
double  theWL,
double  theLtransL,
double  theLthinL,
double  theRR,
double  theWR,
double  theLtransR,
double  theLthinR,
double  theRI,
double  theWI,
double  theLtransI,
double  theLthinI 
)
private
TopoDS_Shape AdvancedEngine_IOperations::MakePipeTShapeThicknessReduction ( TopoDS_Shape  theShape,
double  r1,
double  w1,
double  l1,
double  r2,
double  w2,
double  l2,
double  rL,
double  wL,
double  ltransL,
double  lthinL,
double  rR,
double  wR,
double  ltransR,
double  lthinR,
double  rI,
double  wI,
double  ltransI,
double  lthinI,
bool  fuseReductions 
)
static
Parameters
theShape- the pipe T-Shape
r1- the internal radius of main pipe
w1- the thickness of main pipe
l1- the half-length of main pipe
r2- the internal radius of incident pipe
w2- the thickness of incident pipe
l2- the half-length of main pipe
r*,w*,ltrans*and lthin* - internal radius, thickness, length of transition part and length of thin part of left(L), right(R) and incident(I) thickness reduction correspondingly
fuseReductions- boolean flag (use true to generate single solid, false to obtain parts, useful for hexameshing)
Return values
TopoDS_Shape- Resulting shape

References GEOMUtils::AddSimpleShapes(), aResult, aTol, GEOMImpl_GlueDriver::GlueFaces(), itSub(), and MakeThicknessReduction().

TopoDS_Shape AdvancedEngine_IOperations::MakeThicknessReduction ( gp_Ax2  theAxes,
const double  R,
const double  W,
const double  Rthin,
const double  Wthin,
const double  Ltrans,
const double  Lthin,
bool  fuse 
)
static

This method is called three times from MakePipeTShapeThicknessReduction to create three thickness reductions (one per each open end of a pipe T-Shape)

Parameters
theAxes- the position
R- the internal radius of main pipe
W- the thickness of main pipe
Rthin- the internal radius of thin part
Wthin- the thickness of thin part
Ltrans- the length of transition part
Lthin- the length of thin part
fuse- boolean flag (use true to generate single solid, false to obtain parts, useful for hexameshing)
Return values
TopoDS_Shape- Resulting shape

References GEOMAlgo_Splitter::AddTool(), aTol, and GEOMAlgo_Splitter::SetLimit().

Member Data Documentation

GEOMImpl_I3DPrimOperations* AdvancedEngine_IOperations::my3DPrimOperations
private
GEOMImpl_IBasicOperations* AdvancedEngine_IOperations::myBasicOperations
private
GEOMImpl_IBlocksOperations* AdvancedEngine_IOperations::myBlocksOperations
private
GEOMImpl_IBooleanOperations* AdvancedEngine_IOperations::myBooleanOperations
private
GEOMImpl_IGroupOperations* AdvancedEngine_IOperations::myGroupOperations
private
GEOMImpl_IHealingOperations* AdvancedEngine_IOperations::myHealingOperations
private
GEOMImpl_ILocalOperations* AdvancedEngine_IOperations::myLocalOperations
private
GEOMImpl_IShapesOperations* AdvancedEngine_IOperations::myShapesOperations
private
GEOMImpl_ITransformOperations* AdvancedEngine_IOperations::myTransformOperations
private
double double double double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theH
double double double double double double AdvancedEngine_IOperations::theH
double AdvancedEngine_IOperations::theH
double double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::theHexMesh = true)
double double double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::theHexMesh = true)
double double double double double double double double double double double double double double double double double double bool AdvancedEngine_IOperations::theHexMesh = true)
double double AdvancedEngine_IOperations::theL1
double double double double double AdvancedEngine_IOperations::theL2
double double double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theLthinI
double double double double double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theLthinI
double double double double double double double double double AdvancedEngine_IOperations::theLthinL
double double double double double double double double double double double AdvancedEngine_IOperations::theLthinL
double double double double double double double double double double double double double AdvancedEngine_IOperations::theLthinR
double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theLthinR
double double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theLtransI
double double double double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theLtransI
double double double double double double double double AdvancedEngine_IOperations::theLtransL
double double double double double double double double double double AdvancedEngine_IOperations::theLtransL
double double double double double double double double double double double double AdvancedEngine_IOperations::theLtransR
double double double double double double double double double double double double double double AdvancedEngine_IOperations::theLtransR
double int AdvancedEngine_IOperations::theOrientation
double int int AdvancedEngine_IOperations::thePattern
double double int AdvancedEngine_IOperations::thePattern
double int AdvancedEngine_IOperations::thePattern
double AdvancedEngine_IOperations::theR
double double double AdvancedEngine_IOperations::theR2
double AdvancedEngine_IOperations::theRatio
double double AdvancedEngine_IOperations::theRatio
double double double double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theRF
double double double double double double double double double double double double double double AdvancedEngine_IOperations::theRI
double double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theRI
double double double double double double AdvancedEngine_IOperations::theRL
double double double double double double double double AdvancedEngine_IOperations::theRL
double double double double double double double double double double AdvancedEngine_IOperations::theRR
double double double double double double double double double double double double AdvancedEngine_IOperations::theRR
double double double double double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theW
double double double double double double double AdvancedEngine_IOperations::theW
double AdvancedEngine_IOperations::theW1
double double double double AdvancedEngine_IOperations::theW2
double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theWI
double double double double double double double double double double double double double double double double double AdvancedEngine_IOperations::theWI
double double double double double double double AdvancedEngine_IOperations::theWL
double double double double double double double double double AdvancedEngine_IOperations::theWL
double double double double double double double double double double double AdvancedEngine_IOperations::theWR
double double double double double double double double double double double double double AdvancedEngine_IOperations::theWR

The documentation for this class was generated from the following files: