mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
Fix a typo nagate -> negate
This commit is contained in:
parent
6a6b89f677
commit
fce384ca68
@ -193,9 +193,9 @@ SMESH_HypoFilter::SMESH_HypoFilter()
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMESH_HypoFilter::SMESH_HypoFilter( SMESH_HypoPredicate* aPredicate, bool notNagate )
|
||||
SMESH_HypoFilter::SMESH_HypoFilter( SMESH_HypoPredicate* aPredicate, bool notNegate )
|
||||
{
|
||||
add( notNagate ? AND : AND_NOT, aPredicate );
|
||||
add( notNegate ? AND : AND_NOT, aPredicate );
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
@ -376,14 +376,14 @@ bool SMESH_HypoFilter::IsOk (const SMESH_Hypothesis* aHyp,
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMESH_HypoFilter & SMESH_HypoFilter::Init ( SMESH_HypoPredicate* aPredicate, bool notNagate )
|
||||
SMESH_HypoFilter & SMESH_HypoFilter::Init ( SMESH_HypoPredicate* aPredicate, bool notNegate )
|
||||
{
|
||||
list<SMESH_HypoPredicate*>::const_iterator pred = myPredicates.begin();
|
||||
for ( ; pred != myPredicates.end(); ++pred )
|
||||
delete *pred;
|
||||
myPredicates.clear();
|
||||
|
||||
add( notNagate ? AND : AND_NOT, aPredicate );
|
||||
add( notNegate ? AND : AND_NOT, aPredicate );
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
@ -59,9 +59,9 @@ class SMESH_EXPORT SMESH_HypoFilter: public SMESH_HypoPredicate
|
||||
// Create and add predicates.
|
||||
// Added predicates will be destroyed by filter when it dies
|
||||
SMESH_HypoFilter();
|
||||
SMESH_HypoFilter( SMESH_HypoPredicate* aPredicate, bool notNagate = true );
|
||||
// notNagate==false means !aPredicate->IsOk()
|
||||
SMESH_HypoFilter & Init ( SMESH_HypoPredicate* aPredicate, bool notNagate = true );
|
||||
SMESH_HypoFilter( SMESH_HypoPredicate* aPredicate, bool notNegate = true );
|
||||
// notNegate==false means !aPredicate->IsOk()
|
||||
SMESH_HypoFilter & Init ( SMESH_HypoPredicate* aPredicate, bool notNegate = true );
|
||||
SMESH_HypoFilter & And ( SMESH_HypoPredicate* aPredicate );
|
||||
SMESH_HypoFilter & AndNot( SMESH_HypoPredicate* aPredicate );
|
||||
SMESH_HypoFilter & Or ( SMESH_HypoPredicate* aPredicate );
|
||||
|
Loading…
Reference in New Issue
Block a user