7fd59977 |
1 | // File: BRep_TVertex.lxx |
2 | // Created: Tue Aug 25 15:51:44 1992 |
3 | // Author: Modelistation |
4 | // <model@phylox> |
5 | |
6 | //======================================================================= |
7 | //function : Tolerance |
8 | //purpose : |
9 | //======================================================================= |
10 | |
11 | inline Standard_Real BRep_TVertex::Tolerance()const |
12 | { |
13 | return myTolerance; |
14 | } |
15 | |
16 | |
17 | //======================================================================= |
18 | //function : Tolerance |
19 | //purpose : |
20 | //======================================================================= |
21 | |
22 | inline void BRep_TVertex::Tolerance(const Standard_Real T) |
23 | { |
24 | myTolerance = T; |
25 | } |
26 | |
27 | |
28 | //======================================================================= |
29 | //function : UpdateTolerance |
30 | //purpose : |
31 | //======================================================================= |
32 | |
33 | inline void BRep_TVertex::UpdateTolerance(const Standard_Real T) |
34 | { |
35 | if (T > myTolerance) myTolerance = T; |
36 | } |
37 | |
38 | |
39 | //======================================================================= |
40 | //function : Pnt |
41 | //purpose : |
42 | //======================================================================= |
43 | |
44 | inline const gp_Pnt& BRep_TVertex::Pnt()const |
45 | { |
46 | return myPnt; |
47 | } |
48 | |
49 | |
50 | //======================================================================= |
51 | //function : Pnt |
52 | //purpose : |
53 | //======================================================================= |
54 | |
55 | inline void BRep_TVertex::Pnt(const gp_Pnt& P) |
56 | { |
57 | myPnt = P; |
58 | } |
59 | |
60 | |
61 | //======================================================================= |
62 | //function : Points |
63 | //purpose : |
64 | //======================================================================= |
65 | |
66 | inline const BRep_ListOfPointRepresentation& BRep_TVertex::Points()const |
67 | { |
68 | return myPoints; |
69 | } |
70 | |
71 | |
72 | //======================================================================= |
73 | //function : ChangePoints |
74 | //purpose : |
75 | //======================================================================= |
76 | |
77 | inline BRep_ListOfPointRepresentation& BRep_TVertex::ChangePoints() |
78 | { |
79 | return myPoints; |
80 | } |
81 | |
82 | |