1 -- Created on: 1999-04-30
2 -- Created by: data exchange team
3 -- Copyright (c) 1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class ShapeDivideContinuity from ShapeUpgrade inherits ShapeDivide from ShapeUpgrade
19 ---Purpose: API Tool for converting shapes with C0 geometry into C1 ones
25 FaceDivide from ShapeUpgrade
28 Create returns ShapeDivideContinuity from ShapeUpgrade;
30 Create (S: Shape from TopoDS)
31 returns ShapeDivideContinuity from ShapeUpgrade;
32 ---Purpose: Initialize by a Shape.
34 SetTolerance(me: in out; Tol: Real);
35 ---Purpose: Sets tolerance.
37 SetTolerance2d(me: in out; Tol: Real);
38 ---Purpose: Sets tolerance.
40 SetBoundaryCriterion (me: in out; Criterion: Shape from GeomAbs = GeomAbs_C1);
42 -- Defines a criterion of continuity for the boundary (all the
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.
49 SetPCurveCriterion (me: in out; Criterion: Shape from GeomAbs = GeomAbs_C1);
51 -- Defines a criterion of continuity for the boundary (all the
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.
58 SetSurfaceCriterion (me: in out; Criterion: Shape from GeomAbs = GeomAbs_C1);
60 -- Defines a criterion of continuity for the boundary (all the
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.
69 GetSplitFaceTool (me) returns FaceDivide from ShapeUpgrade
70 is redefined protected;
71 ---Purpose: Returns the tool for dividing faces.
75 myCurve3dCriterion: Shape from GeomAbs;
76 myCurve2dCriterion: Shape from GeomAbs;
77 mySurfaceCriterion : Shape from GeomAbs;
81 end ShapeDivideContinuity;