summaryrefslogtreecommitdiff
path: root/inc/GCPnts_QuasiUniformDeflection.lxx
blob: 4d1f4b1d01c0ddde0ab5b5e39cf5b325a0203474 (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
#include <StdFail_NotDone.hxx>

//=======================================================================
//function : IsDone
//purpose  : 
//=======================================================================

inline Standard_Boolean GCPnts_QuasiUniformDeflection::IsDone () const
{
  return myDone;
}

//=======================================================================
//function : Deflection
//purpose  : 
//=======================================================================

inline Standard_Real GCPnts_QuasiUniformDeflection::Deflection () const
{ 
  StdFail_NotDone_Raise_if(!myDone, 
			 "GCPnts_QuasiUniformDeflection::Deflection()");
  return myDeflection;
}

//=======================================================================
//function : NbPoints
//purpose  : 
//=======================================================================

inline Standard_Integer GCPnts_QuasiUniformDeflection::NbPoints () const
{ 
  StdFail_NotDone_Raise_if(!myDone, 
			 "GCPnts_QuasiUniformDeflection::NbPoints()");
  return myParams.Length();
}

//=======================================================================
//function : Parameter
//purpose  : 
//=======================================================================

inline Standard_Real GCPnts_QuasiUniformDeflection::Parameter
                      (const Standard_Integer Index) const
{ 
  StdFail_NotDone_Raise_if(!myDone, 
                             "GCPnts_QuasiUniformDeflection::Parameter()");
  return myParams(Index);
}