0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / BRep / BRep_TVertex.cdl
CommitLineData
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--
d5f74e42 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
973c2be1 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
17class 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 --
24uses
25 Pnt from gp,
26 TShape from TopoDS,
27 ListOfPointRepresentation from BRep
28
29is
6e33d3ce 30 Create returns TVertex from BRep;
7fd59977 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
6e33d3ce 66 EmptyCopy(me) returns TShape from TopoDS;
7fd59977 67 ---Purpose: Returns a copy of the TShape with no sub-shapes.
68
69fields
70
71 myPnt : Pnt from gp;
72 myTolerance : Real;
73 myPoints : ListOfPointRepresentation from BRep;
74
75end TVertex;