summaryrefslogtreecommitdiff
path: root/inc/GCPnts_UniformAbscissa.lxx
blob: fd9f16e9b7f3af1c394f47ad1350bc773a6d98f6 (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
#include <StdFail_NotDone.hxx>
#include <TColStd_HArray1OfReal.hxx>

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

inline Standard_Real GCPnts_UniformAbscissa::Abscissa () const
{ 
  StdFail_NotDone_Raise_if(!myDone, 
                             "GCPnts_UniformAbscissa::Abscissa()");
  return myAbscissa;
}

inline Standard_Integer GCPnts_UniformAbscissa::NbPoints () const
{ 
  StdFail_NotDone_Raise_if(!myDone, 
			 "GCPnts_UniformAbscissa::NbPoints()");
  return myNbPoints;
}


inline Standard_Real GCPnts_UniformAbscissa::Parameter
                      (const Standard_Integer Index) const
{ 
  StdFail_NotDone_Raise_if(!myDone, 
			 "GCPnts_UniformAbscissa::Parameter()");
  return myParams->Value(Index) ;
}