b311480e |
1 | -- Created on: 2000-08-31 |
2 | -- Created by: Andrey BETENEV |
973c2be1 |
3 | -- Copyright (c) 2000-2014 OPEN CASCADE SAS |
b311480e |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
6 | -- |
d5f74e42 |
7 | -- This library is free software; you can redistribute it and/or modify it under |
8 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | -- by the Free Software Foundation, with special exception defined in the file |
10 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | -- |
973c2be1 |
13 | -- Alternatively, this file may be used under the terms of Open CASCADE |
14 | -- commercial license or contractual agreement. |
7fd59977 |
15 | |
16 | class OperLibrary from ShapeProcess |
17 | |
18 | ---Purpose: Provides a set of following operators |
19 | -- |
20 | -- DirectFaces |
21 | -- FixShape |
22 | -- SameParameter |
23 | -- SetTolerance |
24 | -- SplitAngle |
25 | -- BSplineRestriction |
26 | -- ElementaryToRevolution |
27 | -- SurfaceToBSpline |
28 | -- ToBezier |
29 | -- SplitContinuity |
30 | -- SplitClosedFaces |
31 | -- FixWireGaps |
32 | -- FixFaceSize |
33 | -- DropSmallEdges |
34 | -- FixShape |
35 | -- SplitClosedEdges |
36 | |
37 | uses |
38 | |
39 | Shape from TopoDS, |
40 | UOperator from ShapeProcess, |
41 | ShapeContext from ShapeProcess, |
42 | Modification from BRepTools, |
da2db6a7 |
43 | DataMapOfShapeShape from TopTools, |
44 | MsgRegistrator from ShapeExtend |
7fd59977 |
45 | |
46 | is |
47 | |
48 | Init (myclass); |
49 | ---Purpose: Registers all the operators |
50 | |
51 | ApplyModifier (myclass; S: Shape from TopoDS; |
52 | context: ShapeContext from ShapeProcess; |
53 | M: Modification from BRepTools; |
da2db6a7 |
54 | map: in out DataMapOfShapeShape from TopTools; |
55 | msg : MsgRegistrator from ShapeExtend=0) |
7fd59977 |
56 | ---Purpose: Applies BRepTools_Modification to a shape, |
57 | -- taking into account sharing of components of compounds. |
58 | returns Shape from TopoDS; |
59 | |
60 | end OperLibrary; |