blob: 8f9af157a19664b8f550037a47968a4f28f3481a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#include <StdFail_UndefinedDerivative.hxx>
inline void IntImp_ZerImpFunc::Set (const ThePSurface& PS)
{
surf = (Standard_Address)(&PS);
}
inline void IntImp_ZerImpFunc::SetImplicitSurface (const TheISurface& IS)
{
func = (Standard_Address)(&IS);
}
inline void IntImp_ZerImpFunc::Set (const Standard_Real Tol)
{
tol = Tol;
}
inline Standard_Real IntImp_ZerImpFunc::Root() const
{
return valf;
}
inline Standard_Real IntImp_ZerImpFunc::Tolerance() const
{
return tol;
}
inline const gp_Pnt& IntImp_ZerImpFunc::Point() const
{
return pntsol;
}
inline const gp_Vec& IntImp_ZerImpFunc::Direction3d()
{
if (IsTangent()) StdFail_UndefinedDerivative::Raise();
return d3d;
}
inline const gp_Dir2d& IntImp_ZerImpFunc::Direction2d()
{
if (IsTangent()) StdFail_UndefinedDerivative::Raise();
return d2d;
}
inline const ThePSurface& IntImp_ZerImpFunc::PSurface() const
{
return (*((ThePSurface *)(surf)));
}
inline const TheISurface& IntImp_ZerImpFunc::ISurface() const
{
return (*((TheISurface *)(func)));
}
|