#include <GEOMImpl_IBlocksOperations.hxx>

Data Structures | |
| struct | BCError |
Public Types | |
| enum | BCErrorType { NOT_BLOCK, EXTRA_EDGE, INVALID_CONNECTION, NOT_CONNECTED, NOT_GLUED } |
Public Member Functions | |
| Standard_EXPORT | GEOMImpl_IBlocksOperations (GEOM_Engine *theEngine, int theDocID) |
| Standard_EXPORT | ~GEOMImpl_IBlocksOperations () |
| Standard_EXPORT | Handle (GEOM_Object) MakeQuad(Handle(GEOM_Object) theEdge1 |
| Standard_EXPORT | Handle (GEOM_Object) theEdge2 |
| Standard_EXPORT | Handle (GEOM_Object) theEdge3 |
| Standard_EXPORT | Handle (GEOM_Object) theEdge4) |
| Standard_EXPORT | Handle (GEOM_Object) MakeQuad2Edges(Handle(GEOM_Object) theEdge1 |
| Standard_EXPORT | Handle (GEOM_Object) theEdge2) |
| Standard_EXPORT | Handle (GEOM_Object) MakeQuad4Vertices(Handle(GEOM_Object) thePoint1 |
| Standard_EXPORT | Handle (GEOM_Object) thePoint2 |
| Standard_EXPORT | Handle (GEOM_Object) thePoint3 |
| Standard_EXPORT | Handle (GEOM_Object) thePoint4) |
| Standard_EXPORT | Handle (GEOM_Object) MakeHexa(Handle(GEOM_Object) theFace1 |
| Standard_EXPORT | Handle (GEOM_Object) theFace2 |
| Standard_EXPORT | Handle (GEOM_Object) theFace3 |
| Standard_EXPORT | Handle (GEOM_Object) theFace4 |
| Standard_EXPORT | Handle (GEOM_Object) theFace5 |
| Standard_EXPORT | Handle (GEOM_Object) theFace6) |
| Standard_EXPORT | Handle (GEOM_Object) MakeHexa2Faces(Handle(GEOM_Object) theFace1 |
| Standard_EXPORT | Handle (GEOM_Object) theFace2) |
| Standard_EXPORT | Handle (GEOM_Object) MakeBlockCompound(Handle(GEOM_Object) theCompound) |
| Standard_EXPORT | Handle (GEOM_Object) GetPoint(Handle(GEOM_Object) theShape |
| Standard_EXPORT | Handle (GEOM_Object) GetVertexNearPoint(Handle(GEOM_Object) theShape |
| Standard_EXPORT | Handle (GEOM_Object) thePoint) |
| Standard_EXPORT | Handle (GEOM_Object) GetEdge(Handle(GEOM_Object) theShape |
| Standard_EXPORT | Handle (GEOM_Object) thePoint1 |
| Standard_EXPORT | Handle (GEOM_Object) thePoint2) |
| Standard_EXPORT | Handle (GEOM_Object) GetEdgeNearPoint(Handle(GEOM_Object) theBlock |
| Standard_EXPORT | Handle (GEOM_Object) thePoint) |
| Standard_EXPORT | Handle (GEOM_Object) GetFaceByPoints(Handle(GEOM_Object) theShape |
| Standard_EXPORT | Handle (GEOM_Object) thePoint1 |
| Standard_EXPORT | Handle (GEOM_Object) thePoint2 |
| Standard_EXPORT | Handle (GEOM_Object) thePoint3 |
| Standard_EXPORT | Handle (GEOM_Object) thePoint4) |
| Standard_EXPORT | Handle (GEOM_Object) GetFaceByEdges(Handle(GEOM_Object) theShape |
| Standard_EXPORT | Handle (GEOM_Object) theEdge1 |
| Standard_EXPORT | Handle (GEOM_Object) theEdge2) |
| Standard_EXPORT | Handle (GEOM_Object) GetOppositeFace(Handle(GEOM_Object) theBlock |
| Standard_EXPORT | Handle (GEOM_Object) theFace) |
| Standard_EXPORT | Handle (GEOM_Object) GetFaceNearPoint(Handle(GEOM_Object) theBlock |
| Standard_EXPORT | Handle (GEOM_Object) thePoint) |
| Standard_EXPORT | Handle (GEOM_Object) GetFaceByNormale(Handle(GEOM_Object) theBlock |
| Standard_EXPORT | Handle (GEOM_Object) theVector) |
| Standard_EXPORT | Handle (GEOM_Object) GetShapesNearPoint(Handle(GEOM_Object) theShape |
| Standard_EXPORT | Handle (GEOM_Object) thePoint |
| Standard_EXPORT Standard_Boolean | IsCompoundOfBlocks (Handle(GEOM_Object) theCompound, const Standard_Integer theMinNbFaces, const Standard_Integer theMaxNbFaces, Standard_Integer &theNbBlocks) |
| Standard_EXPORT Standard_Boolean | CheckCompoundOfBlocksOld (Handle(GEOM_Object) theCompound, std::list< BCError > &theErrors) |
| Standard_EXPORT Standard_Boolean | CheckCompoundOfBlocks (Handle(GEOM_Object) theCompound, std::list< BCError > &theErrors) |
| Standard_EXPORT TCollection_AsciiString | PrintBCErrors (Handle(GEOM_Object) theCompound, const std::list< BCError > &theErrors) |
| Standard_EXPORT | Handle (GEOM_Object) RemoveExtraEdges(Handle(GEOM_Object) theShape |
| Standard_EXPORT | Handle (GEOM_Object) CheckAndImprove(Handle(GEOM_Object) theCompound) |
| Standard_EXPORT | Handle (TColStd_HSequenceOfTransient) ExplodeCompoundOfBlocks(Handle(GEOM_Object) theCompound |
| Standard_EXPORT | Handle (GEOM_Object) GetBlockNearPoint(Handle(GEOM_Object) theCompound |
| Standard_EXPORT | Handle (GEOM_Object) thePoint) |
| Standard_EXPORT | Handle (GEOM_Object) GetBlockByParts(Handle(GEOM_Object) theCompound |
| Standard_EXPORT const | Handle (TColStd_HSequenceOfTransient)&theParts) |
| Standard_EXPORT | Handle (TColStd_HSequenceOfTransient) GetBlocksByParts(Handle(GEOM_Object) theCompound |
| Standard_EXPORT const | Handle (TColStd_HSequenceOfTransient)&theParts) |
| Standard_EXPORT | Handle (GEOM_Object) MakeMultiTransformation1D(Handle(GEOM_Object) theBlock |
| Standard_EXPORT | Handle (GEOM_Object) MakeMultiTransformation2D(Handle(GEOM_Object) theBlock |
| Standard_EXPORT | Handle (TColStd_HSequenceOfTransient) Propagate(Handle(GEOM_Object) theShape) |
| 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 Standard_EXPORT void | AddBlocksFrom (const TopoDS_Shape &theShape, TopTools_ListOfShape &BLO, TopTools_ListOfShape &NOT, TopTools_ListOfShape &EXT) |
Data Fields | |
| Standard_EXPORT const Standard_Real | theX |
| Standard_EXPORT const Standard_Real const Standard_Real | theY |
| Standard_EXPORT const Standard_Real const Standard_Real const Standard_Real | theZ |
| Standard_EXPORT const Standard_Real const Standard_Real const Standard_Real const Standard_Real | theEpsilon |
| Standard_EXPORT const Standard_Integer | theShapeType |
| Standard_EXPORT const Standard_Integer const Standard_Real | theTolerance |
| Standard_EXPORT const Standard_Integer | theOptimumNbFaces = 6) |
| Standard_EXPORT const Standard_Integer | theMinNbFaces |
| Standard_EXPORT const Standard_Integer const Standard_Integer | theMaxNbFaces |
| Standard_EXPORT const Standard_Integer | theDirFace1 |
| Standard_EXPORT const Standard_Integer const Standard_Integer | theDirFace2 |
| Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer | theNbTimes |
| Standard_EXPORT const Standard_Integer | theDirFace1U |
| Standard_EXPORT const Standard_Integer const Standard_Integer | theDirFace2U |
| Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer | theNbTimesU |
| Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer | theDirFace1V |
| Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer | theDirFace2V |
| Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer | theNbTimesV |
| GEOMImpl_IBlocksOperations::GEOMImpl_IBlocksOperations | ( | GEOM_Engine * | theEngine, |
| int | theDocID | ||
| ) |
constructor:
| GEOMImpl_IBlocksOperations::~GEOMImpl_IBlocksOperations | ( | ) |
destructor
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_Boolean GEOMImpl_IBlocksOperations::IsCompoundOfBlocks | ( | Handle(GEOM_Object) | theCompound, |
| const Standard_Integer | theMinNbFaces, | ||
| const Standard_Integer | theMaxNbFaces, | ||
| Standard_Integer & | theNbBlocks | ||
| ) |
| Standard_Boolean GEOMImpl_IBlocksOperations::CheckCompoundOfBlocksOld | ( | Handle(GEOM_Object) | theCompound, |
| std::list< BCError > & | theErrors | ||
| ) |
CheckCompoundOfBlocksOld
References AddBlocksFromOld(), BlocksRelation(), GEOMImpl_IBlocksOperations.BCError.error, FindConnected(), GEOM_Object.GetValue(), HasAnyConnection(), GEOMImpl_IBlocksOperations.BCError.incriminated, KO, MapShapes(), REL_COLLISION_EE, REL_COLLISION_FF, REL_COLLISION_VV, REL_NOT_CONNECTED, REL_NOT_GLUED, and REL_UNKNOWN.
| Standard_Boolean GEOMImpl_IBlocksOperations::CheckCompoundOfBlocks | ( | Handle(GEOM_Object) | theCompound, |
| std::list< BCError > & | theErrors | ||
| ) |
CheckCompoundOfBlocks
References GEOMImpl_IBlocksOperations.BCError.error, GEOMAlgo_Algo.ErrorStatus(), FindConnected(), GEOM_Object.GetValue(), HasAnyConnection(), GEOMAlgo_GlueAnalyser.HasSolidsToGlue(), GEOMImpl_IBlocksOperations.BCError.incriminated, KO, MapShapes(), GEOMImpl_Block6Explorer.MapShapesAndAncestors(), GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.More(), GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.Next(), GEOMAlgo_GlueAnalyser.Perform(), REL_NOT_CONNECTED, REL_OK, GEOMAlgo_Gluer.SetCheckGeometry(), GEOMAlgo_ShapeAlgo.SetShape(), GEOMAlgo_ShapeAlgo.SetTolerance(), GEOMAlgo_CoupleOfShapes.Shape1(), GEOMAlgo_CoupleOfShapes.Shape2(), GEOMAlgo_GlueAnalyser.SolidsToGlue(), GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.Value(), and GEOMAlgo_Algo.WarningStatus().
| TCollection_AsciiString GEOMImpl_IBlocksOperations::PrintBCErrors | ( | Handle(GEOM_Object) | theCompound, |
| const std::list< BCError > & | theErrors | ||
| ) |
PrintBCErrors
References GEOMImpl_IBlocksOperations.BCError.error, PAL_MESH_030_geometry.i, and GEOMImpl_IBlocksOperations.BCError.incriminated.
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| void GEOMImpl_IBlocksOperations::AddBlocksFrom | ( | const TopoDS_Shape & | theShape, |
| TopTools_ListOfShape & | BLO, | ||
| TopTools_ListOfShape & | NOT, | ||
| TopTools_ListOfShape & | EXT | ||
| ) | [static] |
Set of functions, used by CheckCompoundOfBlocks() method
References BlockFix_CheckTool.NbPossibleBlocks(), BlockFix_CheckTool.Perform(), and BlockFix_CheckTool.SetShape().
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | TColStd_HSequenceOfTransient | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT const GEOMImpl_IBlocksOperations.Handle | ( | TColStd_HSequenceOfTransient | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | TColStd_HSequenceOfTransient | ) |
| Standard_EXPORT const GEOMImpl_IBlocksOperations.Handle | ( | TColStd_HSequenceOfTransient | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IBlocksOperations.Handle | ( | TColStd_HSequenceOfTransient | ) |
| void GEOM_IOperations::StartOperation | ( | ) | [inherited] |
StartOperation
References GEOM_IOperations._docID, GEOM_IOperations._engine, and Handle().
| void GEOM_IOperations::FinishOperation | ( | ) | [inherited] |
FinishOperation
References GEOM_IOperations._docID, GEOM_IOperations._engine, and Handle().
| void GEOM_IOperations::AbortOperation | ( | ) | [inherited] |
AbortOperation
References GEOM_IOperations._docID, GEOM_IOperations._engine, and Handle().
| bool GEOM_IOperations::IsDone | ( | ) | [inherited] |
IsDone
References GEOM_IOperations._errorCode, and OK.
| Standard_EXPORT void GEOM_IOperations.SetNotDone | ( | ) | [inherited] |
References GEOM_IOperations._errorCode, and KO.
| Standard_EXPORT void GEOM_IOperations.SetErrorCode | ( | const TCollection_AsciiString & | theErrorCode | ) | [inherited] |
References GEOM_IOperations._errorCode.
| Standard_EXPORT char* GEOM_IOperations.GetErrorCode | ( | ) | [inherited] |
References GEOM_IOperations._errorCode.
| Standard_EXPORT GEOM_Engine* GEOM_IOperations.GetEngine | ( | ) | [inherited] |
References GEOM_IOperations._engine.
| Standard_EXPORT GEOM_Solver* GEOM_IOperations.GetSolver | ( | ) | [inherited] |
References GEOM_IOperations._solver.
| Standard_EXPORT int GEOM_IOperations.GetDocID | ( | ) | [inherited] |
References GEOM_IOperations._docID.
| Standard_EXPORT const Standard_Real GEOMImpl_IBlocksOperations.theX |
| Standard_EXPORT const Standard_Real const Standard_Real GEOMImpl_IBlocksOperations.theY |
| Standard_EXPORT const Standard_Real const Standard_Real const Standard_Real GEOMImpl_IBlocksOperations.theZ |
| Standard_EXPORT const Standard_Real const Standard_Real const Standard_Real const Standard_Real GEOMImpl_IBlocksOperations.theEpsilon |
| Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations.theShapeType |
| Standard_EXPORT const Standard_Integer const Standard_Real GEOMImpl_IBlocksOperations.theTolerance |
| Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations.theOptimumNbFaces = 6) |
| Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations.theMinNbFaces |
| Standard_EXPORT const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations.theMaxNbFaces |
| Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations.theDirFace1 |
| Standard_EXPORT const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations.theDirFace2 |
| Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations.theNbTimes |
| Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations.theDirFace1U |
| Standard_EXPORT const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations.theDirFace2U |
| Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations.theNbTimesU |
| Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations.theDirFace1V |
| Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations.theDirFace2V |
| Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations.theNbTimesV |