0024157: Parallelization of assembly part of BO
[occt.git] / src / TopOpeBRepTool / TopOpeBRepTool_ShapeTool.cdl
CommitLineData
b311480e 1-- Created on: 1994-02-09
2-- Created by: Jean Yves LEBEY
3-- Copyright (c) 1994-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23class ShapeTool from TopOpeBRepTool
24
25 -- as TopOpeInter_ShapeTooltemp(Shape from TopoDS)
26 -- as TopOpeBRepDS_ShapeTooltemp(Shape from TopoDS)
27
28uses
29
30 Shape from TopoDS,
31 Face from TopoDS,
32 Edge from TopoDS,
33 Pnt from gp,
34 Curve from Geom,
35 Surface from Geom,
36 Surface from BRepAdaptor,
37 Curve from BRepAdaptor,
38 Dir from gp
39
40is
41
42 Tolerance(myclass; S : Shape from TopoDS )
43 ---Purpose: Returns the tolerance of the shape <S>.
44 -- If the shape <S> is Null, returns 0.
45 returns Real from Standard;
46
47 Pnt(myclass; S : Shape from TopoDS )
48 ---Purpose: Returns 3D point of vertex <S>.
49 returns Pnt from gp;
50
51 BASISCURVE(myclass; C : Curve from Geom)
52 returns Curve from Geom;
53
54 BASISCURVE(myclass; E : Edge from TopoDS)
55 returns Curve from Geom;
56
57 BASISSURFACE(myclass; S : Surface from Geom)
58 returns Surface from Geom;
59
60 BASISSURFACE(myclass; F : Face from TopoDS)
61 returns Surface from Geom;
62
63 UVBOUNDS(myclass; S : Surface from Geom;
64 UPeri, VPeri : in out Boolean from Standard;
65 Umin, Umax, Vmin, Vmax : in out Real from Standard);
66
67 UVBOUNDS(myclass; F : Face from TopoDS;
68 UPeri, VPeri : in out Boolean from Standard;
69 Umin, Umax, Vmin, Vmax : in out Real from Standard);
70
71 AdjustOnPeriodic(myclass; S : Shape from TopoDS;
72 u,v : in out Real from Standard);
73 ---Purpose: ajust u,v values in UVBounds of the domain of the
74 -- geometric shape <S>, according to Uperiodicity and
75 -- VPeriodicity of the domain.
76 -- <S> is assumed to be a face.
77 -- u and/or v is/are not modified when the domain is
78 -- not periodic in U and/or V .
79
80 Closed(myclass; S1,S2 : Shape from TopoDS)
81 ---Purpose: indicates wheter shape S1 is a closing shape on S2 or not.
82 returns Boolean from Standard;
83
84 PeriodizeParameter(myclass;
85 par : Real from Standard;
86 EE,FF : Shape from TopoDS)
87 returns Real from Standard;
88
89 ShapesSameOriented(myclass; S1,S2 : Shape from TopoDS)
90 returns Boolean from Standard;
91
92 SurfacesSameOriented(myclass; S1,S2 : Surface from BRepAdaptor)
93 returns Boolean from Standard;
94
95 FacesSameOriented(myclass; F1,F2 : Shape from TopoDS)
96 returns Boolean from Standard;
97
98 CurvesSameOriented(myclass; C1,C2 : Curve from BRepAdaptor)
99 returns Boolean from Standard;
100
101 EdgesSameOriented(myclass; E1,E2 : Shape from TopoDS)
102 returns Boolean from Standard;
103
104 EdgeData(myclass; BRAC : Curve from BRepAdaptor; P : Real from Standard;
105 T,N : out Dir from gp; -- tangent, normal
106 C : out Real from Standard) -- curvature
107 ---Purpose :
108 -- Compute tangent T, normal N, curvature C at point of parameter
109 -- P on curve BRAC. Returns the tolerance indicating if T,N are null.
110 returns Real from Standard;
111
112 EdgeData(myclass; E : Shape from TopoDS; P : Real from Standard;
113 T,N : out Dir from gp; -- tangent, normal
114 C : out Real from Standard) -- curvature
115 ---Purpose : Same as previous on edge E.
116 returns Real from Standard;
117
118 Resolution3dU(myclass; SU:Surface from Geom; Tol2d : Real from Standard)
119 returns Real from Standard;
120
121 Resolution3dV(myclass; SU:Surface from Geom; Tol2d : Real from Standard)
122 returns Real from Standard;
123
124 Resolution3d(myclass; SU:Surface from Geom; Tol2d : Real from Standard)
125 returns Real from Standard;
126
127 Resolution3d(myclass; F:Face from TopoDS; Tol2d : Real from Standard)
128 returns Real from Standard;
129
130end ShapeTool from TopOpeBRepTool;