mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
35
src/math/math_BissecNewton.lxx
Executable file
35
src/math/math_BissecNewton.lxx
Executable file
@@ -0,0 +1,35 @@
|
||||
// File math_BissecNewton.lxx
|
||||
|
||||
#include <StdFail_NotDone.hxx>
|
||||
|
||||
inline Standard_OStream& operator<<(Standard_OStream& o,
|
||||
const math_BissecNewton& Bi)
|
||||
{
|
||||
Bi.Dump(o);
|
||||
return o;
|
||||
}
|
||||
|
||||
|
||||
inline Standard_Boolean math_BissecNewton::IsDone() const { return Done; }
|
||||
|
||||
|
||||
inline Standard_Real math_BissecNewton::Root() const{
|
||||
StdFail_NotDone_Raise_if(!Done, " ");
|
||||
return x;
|
||||
}
|
||||
|
||||
|
||||
inline Standard_Real math_BissecNewton::Derivative() const{
|
||||
StdFail_NotDone_Raise_if(!Done, " ");
|
||||
return df;
|
||||
}
|
||||
|
||||
|
||||
inline Standard_Real math_BissecNewton::Value() const{
|
||||
StdFail_NotDone_Raise_if(!Done, " ");
|
||||
return f;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user