mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
Minor fixes
This commit is contained in:
parent
e26ffcc005
commit
457be09338
@ -746,7 +746,7 @@ bool StdMeshers_Hexa_3D::Compute(SMESH_Mesh & aMesh, SMESH_MesherHelper* aHelper
|
||||
* \brief Return true if the algorithm can mesh this shape
|
||||
* \param [in] aShape - shape to check
|
||||
* \param [in] toCheckAll - if true, this check returns OK if all shapes are OK,
|
||||
* else, returns OK if all at least one shape is OK
|
||||
* else, returns OK if at least one shape is OK
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
@ -765,7 +765,7 @@ bool StdMeshers_Hexa_3D::IsApplicable( const TopoDS_Shape & aShape, bool toCheck
|
||||
TopExp_Explorer exp1( exp0.Current(), TopAbs_SHELL );
|
||||
for ( ; exp1.More(); exp1.Next(), ++nbFoundShells)
|
||||
if ( nbFoundShells == 2 ) break;
|
||||
if ( nbFoundShells == 2){
|
||||
if ( nbFoundShells != 1 ) {
|
||||
if ( toCheckAll ) return false;
|
||||
continue;
|
||||
}
|
||||
|
@ -2134,7 +2134,7 @@ namespace // utils used by StdMeshers_Prism_3D::IsApplicable()
|
||||
* \brief Return true if the algorithm can mesh this shape
|
||||
* \param [in] aShape - shape to check
|
||||
* \param [in] toCheckAll - if true, this check returns OK if all shapes are OK,
|
||||
* else, returns OK if all at least one shape is OK
|
||||
* else, returns OK if at least one shape is OK
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
|
@ -909,7 +909,7 @@ bool StdMeshers_Quadrangle_2D::Evaluate(SMESH_Mesh& aMesh,
|
||||
* \brief Return true if the algorithm can mesh this shape
|
||||
* \param [in] aShape - shape to check
|
||||
* \param [in] toCheckAll - if true, this check returns OK if all shapes are OK,
|
||||
* else, returns OK if all at least one shape is OK
|
||||
* else, returns OK if at least one shape is OK
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
@ -939,7 +939,7 @@ bool StdMeshers_Quadrangle_2D::IsApplicable( const TopoDS_Shape & aShape, bool t
|
||||
if ( !toCheckAll && nbNoDegenEdges >= 3 ) return true;
|
||||
}
|
||||
return ( toCheckAll && nbFoundFaces != 0 );
|
||||
};
|
||||
}
|
||||
|
||||
//================================================================================
|
||||
/*!
|
||||
|
@ -604,7 +604,7 @@ bool StdMeshers_RadialPrism_3D::Evaluate(SMESH_Mesh& aMesh,
|
||||
* \brief Return true if the algorithm can mesh this shape
|
||||
* \param [in] aShape - shape to check
|
||||
* \param [in] toCheckAll - if true, this check returns OK if all shapes are OK,
|
||||
* else, returns OK if all at least one shape is OK
|
||||
* else, returns OK if at least one shape is OK
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user