#include <AdvancedEngine_IOperations.hxx>
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_Engine * | GetEngine () |
Standard_EXPORT GEOM_Solver * | GetSolver () |
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) |
AdvancedEngine_IOperations::AdvancedEngine_IOperations | ( | GEOM_Engine * | theEngine, |
int | theDocID | ||
) |
AdvancedEngine_IOperations::~AdvancedEngine_IOperations | ( | ) |
Destructor
References my3DPrimOperations, myBasicOperations, myBlocksOperations, myBooleanOperations, myGroupOperations, myHealingOperations, myLocalOperations, myShapesOperations, and myTransformOperations.
|
private |
CheckCompatiblePosition
References GEOM_Object::GetValue(), KO, OK, and GEOM_IOperations::SetErrorCode().
|
private |
Return faces that are laying on surface.
References aFinder, anIter(), GEOMAlgo_Algo::ErrorStatus(), GEOMAlgo_ST_ON, Handle(), iErr, GEOMAlgo_FinderShapeOn2::Perform(), GEOMAlgo_FinderShapeOn2::SetClsf(), GEOMAlgo_FinderShapeOn2::SetNbPntsMax(), GEOMAlgo_FinderShapeOn2::SetNbPntsMin(), GEOMAlgo_ShapeAlgo::SetShape(), GEOMAlgo_FinderShapeOn2::SetShapeType(), GEOMAlgo_FinderShapeOn2::SetState(), GEOMAlgo_ShapeAlgo::SetTolerance(), GEOMAlgo_FinderShapeOn2::Shapes(), and GEOMAlgo_Algo::WarningStatus().
|
private |
SetPosition
References GEOM_Object::GetValue().
AdvancedEngine_IOperations::Handle | ( | TColStd_HSequenceOfTransient | ) |
AdvancedEngine_IOperations::Handle | ( | TColStd_HSequenceOfTransient | ) |
|
pure virtual |
|
pure virtual |
|
pure virtual |
AdvancedEngine_IOperations::Handle | ( | TColStd_HSequenceOfTransient | ) |
AdvancedEngine_IOperations::Handle | ( | TColStd_HSequenceOfTransient | ) |
|
pure virtual |
|
pure virtual |
|
pure virtual |
AdvancedEngine_IOperations::Handle | ( | TColStd_HSequenceOfTransient | ) |
AdvancedEngine_IOperations::Handle | ( | TColStd_HSequenceOfTransient | ) |
|
pure virtual |
|
pure virtual |
|
pure virtual |
AdvancedEngine_IOperations::Handle | ( | GEOM_Object | ) |
AdvancedEngine_IOperations::Handle | ( | GEOM_Object | ) |
AdvancedEngine_IOperations::Handle | ( | GEOM_Object | ) |
AdvancedEngine_IOperations::Handle | ( | GEOM_Object | ) |
|
private |
Creates and returns conical face.
References aResult.
|
private |
Generate the propagation groups of a Pipe T-Shape used for hexa mesh
References GEOMAlgo_ST_ONIN, GEOMUtils::GetEdgeNearPoint(), GEOM_IOperations::GetErrorCode(), GEOM_Object::GetValue(), Handle(), KO, my3DPrimOperations, myBlocksOperations, myBooleanOperations, myShapesOperations, myTransformOperations, OK, GEOM_IOperations::SetErrorCode(), theRF, theW, theW1, theW2, TSHAPE_BASIC, TSHAPE_CHAMFER, and TSHAPE_FILLET.
|
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.
|
private |
References aTol, Handle(), KO, myBasicOperations, myShapesOperations, myTransformOperations, OK, GEOM_IOperations::SetErrorCode(), theL2, and theW1.
|
private |
References anEdge, GEOMImpl_IBlocksOperations::CheckCompoundOfBlocks(), GEOMAlgo_ST_IN, GEOMAlgo_ST_ONIN, Handle(), KO, my3DPrimOperations, myBasicOperations, myBlocksOperations, myBooleanOperations, myShapesOperations, myTransformOperations, OK, GEOM_IOperations::SetErrorCode(), theL2, theRF, theW1, and theW2.
|
private |
|
static |
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) |
TopoDS_Shape | - Resulting shape |
References GEOMUtils::AddSimpleShapes(), aResult, aTol, GEOMImpl_GlueDriver::GlueFaces(), itSub(), and MakeThicknessReduction().
|
static |
This method is called three times from MakePipeTShapeThicknessReduction to create three thickness reductions (one per each open end of a pipe T-Shape)
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) |
TopoDS_Shape | - Resulting shape |
References GEOMAlgo_Splitter::AddTool(), aTol, and GEOMAlgo_Splitter::SetLimit().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
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 |