SessionPtr aMgr = ModelAPI_Session::get();
return (aDoc == aMgr->activeDocument() || aDoc == aMgr->moduleDocument());
}
+ else {
+ // This is not object controlled by the filter
+ return Standard_True;
+ }
}
}
return Standard_False;
bool aD3 = myPlane.Distance(aLastPnt) < Precision::Confusion();
return aD1 && aD2 && aD3;
}
+ default:
+ // This is not object controlled by the filter
+ return Standard_True;
+ break;
}
} else {
// This is not object controlled by the filter