0025923: Remove small wires on face read from STEP
[occt.git] / src / PBRep / PBRep_TVertex1.cxx
1 // Created on: 1993-07-26
2 // Created by: Remi LEQUETTE
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #include <PBRep_TVertex1.ixx>
18
19
20 //=======================================================================
21 //function : PBRep_TVertex1
22 //purpose  : 
23 //=======================================================================
24
25 PBRep_TVertex1::PBRep_TVertex1() : myTolerance(0.)
26 {
27 }
28
29 //=======================================================================
30 //function : Tolerance
31 //purpose  : 
32 //=======================================================================
33
34 Standard_Real  PBRep_TVertex1::Tolerance()const 
35 {
36   return myTolerance;
37 }
38
39
40 //=======================================================================
41 //function : Tolerance
42 //purpose  : 
43 //=======================================================================
44
45 void  PBRep_TVertex1::Tolerance(const Standard_Real T)
46 {
47   myTolerance = T;
48 }
49
50
51 //=======================================================================
52 //function : Pnt
53 //purpose  : 
54 //=======================================================================
55
56 gp_Pnt  PBRep_TVertex1::Pnt()const 
57 {
58   return myPnt;
59 }
60
61
62 //=======================================================================
63 //function : Pnt
64 //purpose  : 
65 //=======================================================================
66
67 void  PBRep_TVertex1::Pnt(const gp_Pnt& P)
68 {
69   myPnt = P;
70 }
71
72
73 //=======================================================================
74 //function : Points
75 //purpose  : 
76 //=======================================================================
77
78 Handle(PBRep_PointRepresentation)  PBRep_TVertex1::Points()const 
79 {
80   return myPoints;
81 }
82
83
84 //=======================================================================
85 //function : Points
86 //purpose  : 
87 //=======================================================================
88
89 void  PBRep_TVertex1::Points(const Handle(PBRep_PointRepresentation)& P)
90 {
91   myPoints = P;
92 }
93
94