blob: d845b7ab8723182b9c5465be73c75aed69192b4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
-- File: BRepLib_MakeShell.cdl
-- Created: Wed Jan 4 11:11:36 1995
-- Author: Bruno DUMORTIER
-- <dub@fuegox>
---Copyright: Matra Datavision 1995
class MakeShell from BRepLib inherits MakeShape from BRepLib
---Purpose: Provides methos to build shells.
--
-- Build a shell from a set of faces.
-- Build untied shell from a non C2 surface
-- splitting it into C2-continuous parts.
uses
Surface from Geom,
Shell from TopoDS,
Face from TopoDS,
ShellError from BRepLib
raises
NotDone from StdFail
is
Create
---Purpose: Not done.
---Level: Public
returns MakeShell from BRepLib;
----------------------------------------------
-- From a set of face
----------------------------------------------
----------------------------------------------
-- From a surface
----------------------------------------------
Create(S : Surface from Geom;
Segment : Boolean from Standard = Standard_False)
---Level: Public
returns MakeShell from BRepLib;
Create(S : Surface from Geom; UMin, UMax, VMin, VMax : Real;
Segment : Boolean from Standard = Standard_False)
---Level: Public
returns MakeShell from BRepLib;
Init(me : in out; S : Surface from Geom; UMin, UMax, VMin, VMax : Real;
Segment : Boolean from Standard = Standard_False)
---Purpose: Creates the shell from the surface and the min-max
-- values.
---Level: Public
is static;
----------------------------------------------
-- Results
----------------------------------------------
Error(me) returns ShellError from BRepLib
---Level: Public
is static;
Shell(me) returns Shell from TopoDS
---Purpose: Returns the new Shell.
--
---C++: return const &
---C++: alias "Standard_EXPORT operator TopoDS_Shell() const;"
---Level: Public
raises
NotDone from StdFail
is static;
fields
myError : ShellError from BRepLib;
end MakeShell;
|