Standard_Integer Extrema_GenExtPC::NbExt () const {
- if (!IsDone()) { StdFail_NotDone::Raise(); }
+ if (!IsDone()) { throw StdFail_NotDone(); }
return myF.NbExt();
}
Standard_Real Extrema_GenExtPC::SquareDistance (const Standard_Integer N) const {
- if (!IsDone()) { StdFail_NotDone::Raise(); }
+ if (!IsDone()) { throw StdFail_NotDone(); }
return myF.SquareDistance(N);
}
Standard_Boolean Extrema_GenExtPC::IsMin (const Standard_Integer N) const {
- if (!IsDone()) { StdFail_NotDone::Raise(); }
+ if (!IsDone()) { throw StdFail_NotDone(); }
return myF.IsMin(N);
}
const POnC & Extrema_GenExtPC::Point (const Standard_Integer N) const
{
- if (!IsDone()) { StdFail_NotDone::Raise(); }
+ if (!IsDone()) { throw StdFail_NotDone(); }
return myF.Point(N);
}
//=============================================================================