summaryrefslogtreecommitdiff
path: root/inc/ShapeAnalysis_Surface.lxx
blob: d5719bb3c79fa7cc657505e5327a03fce22d81bc (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#include <Geom_Surface.hxx>

//=======================================================================
//function : Surface
//purpose  : 
//=======================================================================

inline const Handle(Geom_Surface)& ShapeAnalysis_Surface::Surface() const
{
  return mySurf;
}

 
//=======================================================================
//function : TrueAdaptor3d
//purpose  : 
//=======================================================================

inline const Handle(GeomAdaptor_HSurface)& ShapeAnalysis_Surface::TrueAdaptor3d() const
{
  return myAdSur;
}

 
//=======================================================================
//function : Gap
//purpose  : 
//=======================================================================

inline Standard_Real ShapeAnalysis_Surface::Gap() const
{
  return myGap;
}

 
//=======================================================================
//function : Value
//purpose  : 
//=======================================================================

inline gp_Pnt ShapeAnalysis_Surface::Value (const Standard_Real u,
					    const Standard_Real v) 
{
  return mySurf->Value ( u, v );
}

 
//=======================================================================
//function : Value
//purpose  : 
//=======================================================================

inline gp_Pnt ShapeAnalysis_Surface::Value(const gp_Pnt2d& p2d) 
{
  return mySurf->Value ( p2d.X(), p2d.Y() );
}

 
//=======================================================================
//function : Bounds
//purpose  : 
//=======================================================================

inline void ShapeAnalysis_Surface::Bounds (Standard_Real& ufirst, 
					   Standard_Real& ulast,
					   Standard_Real& vfirst,
					   Standard_Real& vlast) const
{
  ufirst = myUF;
  ulast  = myUL;
  vfirst = myVF;
  vlast  = myVL;
}

//=======================================================================
//function : UCloseVal
//purpose  : 
//=======================================================================

inline Standard_Real ShapeAnalysis_Surface::UCloseVal() const
{
  return myUCloseVal;
}

//=======================================================================
//function : VCloseVal
//purpose  : 
//=======================================================================

inline Standard_Real ShapeAnalysis_Surface::VCloseVal() const
{
  return myVCloseVal;
}