b311480e |
1 | -- Created on: 1998-06-03 |
2 | -- Created by: data exchange team |
3 | -- Copyright (c) 1998-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 | |
17 | package ShapeUpgrade |
18 | |
19 | ---Purpose: This package provides tools |
20 | -- for splitting and converting shapes by some criteria. It |
21 | -- provides modifications of the kind when one topological |
22 | -- object can be converted or splitted to several ones. In |
23 | -- particular this package contains high level API classes which perform: |
24 | -- converting geometry of shapes up to given continuity, |
25 | -- splitting revolutions by U to segments less than given value, |
26 | -- converting to beziers, |
27 | -- splitting closed faces. |
28 | |
29 | uses |
30 | gp, |
31 | Geom, |
32 | Geom2d, |
33 | GeomAbs, |
34 | Adaptor3d, |
35 | GeomAdaptor, |
36 | Geom2dAPI, |
37 | TopLoc, |
38 | TColStd, |
39 | TColGeom, |
40 | TColGeom2d, |
41 | TCollection, |
42 | TopoDS, |
43 | TopTools, |
44 | TopAbs, |
45 | ShapeExtend, |
46 | ShapeBuild, |
47 | ShapeAnalysis, |
48 | BRepBuilderAPI |
49 | |
50 | is |
51 | |
52 | --- Instanciation of generic classes (tools) |
53 | |
54 | private class Tool; |
55 | |
56 | class EdgeDivide; |
57 | |
58 | class ClosedEdgeDivide; |
59 | |
60 | class WireDivide; |
61 | |
62 | class FaceDivide; |
63 | |
64 | class ClosedFaceDivide; |
65 | class FaceDivideArea; |
66 | |
67 | class ShapeDivide; |
68 | class ShapeDivideArea; |
69 | |
70 | class ShapeDivideContinuity; |
ff8178ef |
71 | |
7fd59977 |
72 | class ShapeDivideAngle; |
7fd59977 |
73 | |
74 | class ShapeConvertToBezier; |
ff8178ef |
75 | |
7fd59977 |
76 | class ShapeDivideClosed; |
77 | ---Purpose: |
78 | |
79 | class ShapeDivideClosedEdges; |
80 | ---Purpose: |
81 | |
82 | class SplitCurve; |
83 | class SplitCurve2d; |
84 | class SplitCurve2dContinuity; |
85 | class ConvertCurve2dToBezier; |
86 | class SplitCurve3d; |
87 | class SplitCurve3dContinuity; |
88 | class ConvertCurve3dToBezier; |
89 | |
90 | class SplitSurface; |
91 | class SplitSurfaceContinuity; |
92 | class SplitSurfaceAngle; |
93 | class ConvertSurfaceToBezierBasis; |
94 | class SplitSurfaceArea; |
95 | |
96 | class ShellSewing; |
ff8178ef |
97 | |
7fd59977 |
98 | class FixSmallCurves; |
99 | ---Purpose: |
100 | class FixSmallBezierCurves; |
101 | ---Purpose: |
102 | |
103 | class RemoveLocations; |
ff8178ef |
104 | |
7fd59977 |
105 | class RemoveInternalWires; |
ff8178ef |
106 | |
2277323d |
107 | class UnifySameDomain; |
108 | ---Purpose: Unifies same domain faces and edges of specified shape |
109 | |
7fd59977 |
110 | C0BSplineToSequenceOfC1BSplineCurve (BS : BSplineCurve from Geom; |
111 | seqBS: out HSequenceOfBoundedCurve from TColGeom) |
112 | returns Boolean; |
113 | |
114 | C0BSplineToSequenceOfC1BSplineCurve (BS : BSplineCurve from Geom2d; |
115 | seqBS: out HSequenceOfBoundedCurve from TColGeom2d) |
116 | returns Boolean; |
117 | --- Purpose: Converts C0 B-Spline curve into sequence of C1 B-Spline curves. |
118 | -- This method splits B-Spline at the knots with multiplicities |
119 | -- equal to degree, i.e. unlike method |
120 | -- GeomConvert::C0BSplineToArrayOfC1BSplineCurve this one does not |
121 | -- use any tolerance and therefore does not change the geometry of |
122 | -- B-Spline. |
123 | -- Returns True if C0 B-Spline was successfully splitted, else |
124 | -- returns False (if BS is C1 B-Spline). |
125 | |
126 | end ShapeUpgrade; |