7fd59977 |
1 | // File: TopOpeBRepDS_PointData.cxx |
2 | // Created: Wed Jun 23 19:39:16 1993 |
3 | // Author: Jean Yves LEBEY |
4 | // <jyl@zerox> |
5 | |
6 | #include <TopOpeBRepDS_PointData.ixx> |
7 | #include <TopOpeBRepDS_define.hxx> |
8 | |
9 | //======================================================================= |
10 | //function : TopOpeBRepDS_PointData |
11 | //purpose : |
12 | //======================================================================= |
13 | TopOpeBRepDS_PointData::TopOpeBRepDS_PointData() |
14 | : myS1(0),myS2(0) |
15 | {} |
16 | |
17 | //======================================================================= |
18 | //function : TopOpeBRepDS_PointData |
19 | //purpose : |
20 | //======================================================================= |
21 | TopOpeBRepDS_PointData::TopOpeBRepDS_PointData(const TopOpeBRepDS_Point& P) |
22 | : myPoint(P),myS1(0),myS2(0) |
23 | {} |
24 | |
25 | //======================================================================= |
26 | //function : TopOpeBRepDS_PointData |
27 | //purpose : |
28 | //======================================================================= |
29 | |
30 | TopOpeBRepDS_PointData::TopOpeBRepDS_PointData(const TopOpeBRepDS_Point& P, |
31 | const Standard_Integer I1,const Standard_Integer I2) |
32 | : myPoint(P),myS1(I1),myS2(I2) |
33 | {} |
34 | |
35 | //======================================================================= |
36 | //function : SetShapes |
37 | //purpose : |
38 | //======================================================================= |
39 | void TopOpeBRepDS_PointData::SetShapes(const Standard_Integer I1,const Standard_Integer I2) |
40 | { |
41 | myS1 = I1;myS2 = I2; |
42 | } |
43 | |
44 | //======================================================================= |
45 | //function : GetShapes |
46 | //purpose : |
47 | //======================================================================= |
48 | void TopOpeBRepDS_PointData::GetShapes(Standard_Integer& I1,Standard_Integer& I2) const |
49 | { |
50 | I1 = myS1;I2 = myS2; |
51 | } |