Standard_Real Extrema_GenLocateExtPC::SquareDistance() const
{
- if (!myDone) { StdFail_NotDone::Raise(); }
+ if (!myDone) { throw StdFail_NotDone(); }
return myF.SquareDistance(1);
}
Standard_Boolean Extrema_GenLocateExtPC::IsMin () const
{
- if (!myDone) { StdFail_NotDone::Raise(); }
+ if (!myDone) { throw StdFail_NotDone(); }
return myF.IsMin(1);
}
const POnC & Extrema_GenLocateExtPC::Point () const
{
- if (!myDone) { StdFail_NotDone::Raise(); }
+ if (!myDone) { throw StdFail_NotDone(); }
return myF.Point(1);
}