mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-08 10:47:27 +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 :
|
//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 :
|
//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();
|
list<SMESH_HypoPredicate*>::const_iterator pred = myPredicates.begin();
|
||||||
for ( ; pred != myPredicates.end(); ++pred )
|
for ( ; pred != myPredicates.end(); ++pred )
|
||||||
delete *pred;
|
delete *pred;
|
||||||
myPredicates.clear();
|
myPredicates.clear();
|
||||||
|
|
||||||
add( notNagate ? AND : AND_NOT, aPredicate );
|
add( notNegate ? AND : AND_NOT, aPredicate );
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,9 +59,9 @@ class SMESH_EXPORT SMESH_HypoFilter: public SMESH_HypoPredicate
|
|||||||
// Create and add predicates.
|
// Create and add predicates.
|
||||||
// Added predicates will be destroyed by filter when it dies
|
// Added predicates will be destroyed by filter when it dies
|
||||||
SMESH_HypoFilter();
|
SMESH_HypoFilter();
|
||||||
SMESH_HypoFilter( SMESH_HypoPredicate* aPredicate, bool notNagate = true );
|
SMESH_HypoFilter( SMESH_HypoPredicate* aPredicate, bool notNegate = true );
|
||||||
// notNagate==false means !aPredicate->IsOk()
|
// notNegate==false means !aPredicate->IsOk()
|
||||||
SMESH_HypoFilter & Init ( SMESH_HypoPredicate* aPredicate, bool notNagate = true );
|
SMESH_HypoFilter & Init ( SMESH_HypoPredicate* aPredicate, bool notNegate = true );
|
||||||
SMESH_HypoFilter & And ( SMESH_HypoPredicate* aPredicate );
|
SMESH_HypoFilter & And ( SMESH_HypoPredicate* aPredicate );
|
||||||
SMESH_HypoFilter & AndNot( SMESH_HypoPredicate* aPredicate );
|
SMESH_HypoFilter & AndNot( SMESH_HypoPredicate* aPredicate );
|
||||||
SMESH_HypoFilter & Or ( SMESH_HypoPredicate* aPredicate );
|
SMESH_HypoFilter & Or ( SMESH_HypoPredicate* aPredicate );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user