- const list<const SMESHDS_Hypothesis*>& hyps = GetUsedHypothesis(aMesh, aShape);
- int nbHyp = hyps.size();
- if (!nbHyp)
- {
- aStatus = SMESH_Hypothesis::HYP_OK;
- return true; // can work with no hypothesis
- }
- // use only the first hypothesis
- const SMESHDS_Hypothesis* theHyp = hyps.front();