Integration of OCCT 6.5.0 from SVN
[occt.git] / src / GProp / GProp_VGPropsGK.lxx
1 // File:        GProp_VGPropsGK.lxx
2 // Created:     Wed Dec 21 11:31:17 2005
3 // Author:      Sergey KHROMOV
4 //              <skv@dimox>
5
6
7 //==========================================================================
8 //function : Constructor
9 //           Empty constructor.
10 //==========================================================================
11
12 inline GProp_VGPropsGK::GProp_VGPropsGK()
13      : myErrorReached(0.)
14 {
15 }
16
17 //==========================================================================
18 //function : SetLocation
19 //           Sets the vertex that delimit 3D closed region of space.
20 //==========================================================================
21
22 inline void GProp_VGPropsGK::SetLocation(const gp_Pnt &theVertex)
23 {
24   loc = theVertex;
25 }
26
27 //==========================================================================
28 //function : GetErrorReached
29 //           Returns the reached Error.
30 //==========================================================================
31
32 inline Standard_Real GProp_VGPropsGK::GetErrorReached() const
33 {
34   return myErrorReached;
35 }