0029915: Porting to VC 2017 : Regressions in Modeling Algorithms on VC 2017
[occt.git] / src / BOPDS / BOPDS_Point.lxx
1 // Created by: Peter KURNEV
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
3 //
4 // This file is part of Open CASCADE Technology software library.
5 //
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
11 //
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
14
15 //=======================================================================
16 //function : 
17 //purpose  : 
18 //=======================================================================
19   inline BOPDS_Point::BOPDS_Point()
20 {
21   myPnt.SetCoord(99.,99.,99.);
22   myPnt2D1.SetCoord(99.,99.);
23   myPnt2D2=myPnt2D1;
24   myIndex=-1;
25 }
26 //=======================================================================
27 //function : ~
28 //purpose  : 
29 //=======================================================================
30   inline BOPDS_Point::~BOPDS_Point()
31 {
32 }
33 //=======================================================================
34 //function : SetIndex
35 //purpose  : 
36 //=======================================================================
37   inline void BOPDS_Point::SetIndex(const Standard_Integer theIndex)
38 {
39   myIndex=theIndex;
40 }
41 //=======================================================================
42 //function : Index
43 //purpose  : 
44 //=======================================================================
45   inline Standard_Integer BOPDS_Point::Index()const
46 {
47   return myIndex;
48 }
49 //=======================================================================
50 //function : SetPnt
51 //purpose  : 
52 //=======================================================================
53   inline void BOPDS_Point::SetPnt(const gp_Pnt& thePnt)
54 {
55   myPnt=thePnt;
56 }
57 //=======================================================================
58 //function : Pnt
59 //purpose  : 
60 //=======================================================================
61   inline const gp_Pnt& BOPDS_Point::Pnt()const
62 {
63   return myPnt;
64 }
65 //=======================================================================
66 //function : SetPnt2D1
67 //purpose  : 
68 //=======================================================================
69   inline void BOPDS_Point::SetPnt2D1(const gp_Pnt2d& thePnt)
70 {
71   myPnt2D1=thePnt;
72 }
73 //=======================================================================
74 //function : Pnt2D1
75 //purpose  : 
76 //=======================================================================
77   inline const gp_Pnt2d& BOPDS_Point::Pnt2D1()const
78 {
79   return myPnt2D1;
80 }
81 //=======================================================================
82 //function : SetPnt2D2
83 //purpose  : 
84 //=======================================================================
85   inline void BOPDS_Point::SetPnt2D2(const gp_Pnt2d& thePnt)
86 {
87   myPnt2D2=thePnt;
88 }
89 //=======================================================================
90 //function : Pnt2D2
91 //purpose  : 
92 //=======================================================================
93   inline const gp_Pnt2d& BOPDS_Point::Pnt2D2()const
94 {
95   return myPnt2D2;
96 }