#include <GEOMImpl_IBlocksOperations.hxx>
Classes | |
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 | CheckCompoundOfBlocks (Handle(GEOM_Object) theCompound, const Standard_Real theToleranceC1, std::list< BCError > &theErrors) |
Standard_EXPORT TCollection_AsciiString | PrintBCErrors (Handle(GEOM_Object) theCompound, const std::list< BCError > &theErrors) |
Standard_EXPORT | Handle (GEOM_Object) GetNonBlocks(Handle(GEOM_Object) theShape |
Standard_EXPORT const Standard_Real | Handle (GEOM_Object)&theNonQuads) |
Standard_EXPORT | Handle (GEOM_Object) RemoveExtraEdges(Handle(GEOM_Object) theShape |
Standard_EXPORT | Handle (GEOM_Object) UnionFaces(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) |
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 Standard_EXPORT void | AddBlocksFrom (const TopoDS_Shape &theShape, TopTools_ListOfShape &BLO, TopTools_ListOfShape &NOT, TopTools_ListOfShape &EXT, TopTools_ListOfShape &NOQ, const Standard_Real theToleranceC1=-1.) |
Public Attributes | |
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_Real | theToleranceC1 |
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
|
static |
Set of functions, used by CheckCompoundOfBlocks() method
References IsQuadrangle(), BlockFix_CheckTool::NbPossibleBlocks(), BlockFix_CheckTool::Perform(), BlockFix_CheckTool::SetAngTolerance(), BlockFix_CheckTool::SetShape(), and theToleranceC1.
Standard_Boolean GEOMImpl_IBlocksOperations::CheckCompoundOfBlocks | ( | Handle(GEOM_Object) | theCompound, |
const Standard_Real | theToleranceC1, | ||
std::list< BCError > & | theErrors | ||
) |
CheckCompoundOfBlocks
References anIndices, GEOMImpl_IBlocksOperations::BCError::error, GEOMAlgo_Algo::ErrorStatus(), FindConnected(), GEOM_Object::GetValue(), HasAnyConnection(), GEOMAlgo_GlueAnalyser::HasSolidsToGlue(), iErr, GEOMImpl_IBlocksOperations::BCError::incriminated, it(), KO, GEOMImpl_Block6Explorer::MapShapesAndAncestors(), 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(), and GEOMAlgo_Algo::WarningStatus().
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_EXPORT GEOMImpl_IBlocksOperations::Handle | ( | GEOM_Object | ) |
Standard_EXPORT const Standard_Real 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 | ( | 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 | ) |
Standard_Boolean GEOMImpl_IBlocksOperations::IsCompoundOfBlocks | ( | Handle(GEOM_Object) | theCompound, |
const Standard_Integer | theMinNbFaces, | ||
const Standard_Integer | theMaxNbFaces, | ||
Standard_Integer & | theNbBlocks | ||
) |
TCollection_AsciiString GEOMImpl_IBlocksOperations::PrintBCErrors | ( | Handle(GEOM_Object) | theCompound, |
const std::list< BCError > & | theErrors | ||
) |
PrintBCErrors
References GEOMImpl_IBlocksOperations::BCError::error, and GEOMImpl_IBlocksOperations::BCError::incriminated.
Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations::theDirFace1 |
Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations::theDirFace1U |
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 GEOMImpl_IBlocksOperations::theDirFace2 |
Standard_EXPORT const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theDirFace2U |
Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theDirFace2V |
Standard_EXPORT const Standard_Real const Standard_Real const Standard_Real const Standard_Real GEOMImpl_IBlocksOperations::theEpsilon |
Standard_EXPORT const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theMaxNbFaces |
Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations::theMinNbFaces |
Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theNbTimes |
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 const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theNbTimesV |
Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations::theOptimumNbFaces = 6) |
Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations::theShapeType |
Standard_EXPORT const Standard_Integer const Standard_Real GEOMImpl_IBlocksOperations::theTolerance |
Standard_EXPORT const Standard_Real GEOMImpl_IBlocksOperations::theToleranceC1 |
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 |