b311480e |
1 | -- Created on: 1992-05-27 |
2 | -- Created by: Remi LEQUETTE |
3 | -- Copyright (c) 1992-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
973c2be1 |
8 | -- This library is free software; you can redistribute it and / or modify it |
9 | -- under the terms of the GNU Lesser General Public 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. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class TVertex from BRep inherits TVertex from TopoDS |
18 | |
19 | ---Purpose: The TVertex from BRep inherits from the TVertex |
20 | -- from TopoDS. It contains the geometric data. |
21 | -- |
22 | -- The TVertex contains a 3d point and a tolerance. |
23 | -- |
24 | uses |
25 | Pnt from gp, |
26 | TShape from TopoDS, |
27 | ListOfPointRepresentation from BRep |
28 | |
29 | is |
30 | Create returns mutable TVertex from BRep; |
31 | |
32 | Tolerance(me) returns Real |
33 | ---C++: inline |
34 | is static; |
35 | |
36 | Tolerance(me : mutable; T : Real) |
37 | ---C++: inline |
38 | is static; |
39 | |
40 | UpdateTolerance(me : mutable; T : Real) |
41 | ---Purpose: Sets the tolerance to the max of <T> and the |
42 | -- current tolerance. |
43 | -- |
44 | ---C++: inline |
45 | is static; |
46 | |
47 | Pnt(me) returns Pnt from gp |
48 | ---C++: inline |
49 | ---C++: return const & |
50 | is static; |
51 | |
52 | Pnt(me : mutable; P : Pnt from gp) |
53 | ---C++: inline |
54 | is static; |
55 | |
56 | Points(me) returns ListOfPointRepresentation from BRep |
57 | ---C++: inline |
58 | ---C++: return const & |
59 | is static; |
60 | |
61 | ChangePoints(me : mutable) returns ListOfPointRepresentation from BRep |
62 | ---C++: inline |
63 | ---C++: return & |
64 | is static; |
65 | |
66 | EmptyCopy(me) returns mutable TShape from TopoDS; |
67 | ---Purpose: Returns a copy of the TShape with no sub-shapes. |
68 | |
69 | fields |
70 | |
71 | myPnt : Pnt from gp; |
72 | myTolerance : Real; |
73 | myPoints : ListOfPointRepresentation from BRep; |
74 | |
75 | end TVertex; |