0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / ShapeUpgrade / ShapeUpgrade_ShapeDivideContinuity.cdl
CommitLineData
b311480e 1-- Created on: 1999-04-30
2-- Created by: data exchange team
3-- Copyright (c) 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 ShapeDivideContinuity from ShapeUpgrade inherits ShapeDivide from ShapeUpgrade
18
19 ---Purpose:
20
21uses
22
23 Shape from TopoDS,
24 Shape from GeomAbs,
25 FaceDivide from ShapeUpgrade
26
27is
28 Create returns ShapeDivideContinuity from ShapeUpgrade;
29
30 Create (S: Shape from TopoDS)
31 returns ShapeDivideContinuity from ShapeUpgrade;
32 ---Purpose: Initialize by a Shape.
33
34 SetTolerance(me: in out; Tol: Real);
35 ---Purpose: Sets tolerance.
36
37 SetTolerance2d(me: in out; Tol: Real);
38 ---Purpose: Sets tolerance.
39
40 SetBoundaryCriterion (me: in out; Criterion: Shape from GeomAbs = GeomAbs_C1);
41 ---Purpose:
42 -- Defines a criterion of continuity for the boundary (all the
43 -- Wires)
44 --
45 -- The possible values are C0, G1, C1, G2, C2, C3, CN The
46 -- default is C1 to respect the Cas.Cade Shape Validity. G1
47 -- and G2 are not authorized.
48
49 SetPCurveCriterion (me: in out; Criterion: Shape from GeomAbs = GeomAbs_C1);
50 ---Purpose:
51 -- Defines a criterion of continuity for the boundary (all the
52 -- pcurves of Wires)
53 --
54 -- The possible values are C0, G1, C1, G2, C2, C3, CN The
55 -- default is C1 to respect the Cas.Cade Shape Validity. G1
56 -- and G2 are not authorized.
57
58 SetSurfaceCriterion (me: in out; Criterion: Shape from GeomAbs = GeomAbs_C1);
59 ---Purpose:
60 -- Defines a criterion of continuity for the boundary (all the
61 -- Wires)
62 --
63 -- The possible values are C0, G1, C1, G2, C2, C3, CN The
64 -- default is C1 to respect the Cas.Cade Shape Validity. G1
65 -- and G2 are not authorized.
66
67 ---Level: Internal
68
69 GetSplitFaceTool (me) returns FaceDivide from ShapeUpgrade
70 is redefined protected;
71 ---Purpose: Returns the tool for dividing faces.
72
73fields
74
75 myCurve3dCriterion: Shape from GeomAbs;
76 myCurve2dCriterion: Shape from GeomAbs;
77 mySurfaceCriterion : Shape from GeomAbs;
78 myTolerance3d: Real;
79 myTolerance2d: Real;
80
81end ShapeDivideContinuity;