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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
-- File: BRepPrimAPI_MakeRevolution.cdl
-- Created: Thu Jul 22 11:25:59 1993
-- Author: Remi LEQUETTE
-- <rle@nonox>
---Copyright: Matra Datavision 1993
class MakeRevolution from BRepPrimAPI inherits MakeOneAxis from BRepPrimAPI
---Purpose: Describes functions to build revolved shapes.
-- A MakeRevolution object provides a framework for:
-- - defining the construction of a revolved shape,
-- - implementing the construction algorithm, and
-- - consulting the result.
uses
Ax2 from gp,
Curve from Geom,
OneAxis from BRepPrim,
Revolution from BRepPrim
raises
DomainError from Standard
is
Create(Meridian : Curve from Geom)
returns MakeRevolution from BRepPrimAPI
---Purpose: Make a revolution body by rotating a curve around Z.
---Level: Public
raises
DomainError from Standard; -- if M is not in a plane containing Z.
Create(Meridian : Curve from Geom; angle : Real)
returns MakeRevolution from BRepPrimAPI
---Purpose: Make a revolution body by rotating a curve around Z.
---Level: Public
raises
DomainError from Standard; -- if M is not in a plane containing Z.
Create(Meridian : Curve from Geom; VMin, VMax : Real)
returns MakeRevolution from BRepPrimAPI
---Purpose: Make a revolution body by rotating a curve around Z.
---Level: Public
raises
DomainError from Standard; -- if M is not in a plane containing Z.
Create(Meridian : Curve from Geom; VMin, VMax, angle : Real)
returns MakeRevolution from BRepPrimAPI
---Purpose: Make a revolution body by rotating a curve around Z.
---Level: Public
raises
DomainError from Standard; -- if M is not in a plane containing Z.
Create(Axes : Ax2 from gp; Meridian : Curve from Geom)
returns MakeRevolution from BRepPrimAPI
---Purpose: Make a revolution body by rotating a curve around Z.
---Level: Public
raises
DomainError from Standard; -- if M is not in a plane containing Z.
Create(Axes : Ax2 from gp; Meridian : Curve from Geom; angle : Real)
returns MakeRevolution from BRepPrimAPI
---Purpose: Make a revolution body by rotating a curve around Z.
---Level: Public
raises
DomainError from Standard; -- if M is not in a plane containing Z.
Create(Axes : Ax2 from gp; Meridian : Curve from Geom; VMin, VMax : Real)
returns MakeRevolution from BRepPrimAPI
---Purpose: Make a revolution body by rotating a curve around Z.
---Level: Public
raises
DomainError from Standard; -- if M is not in a plane containing Z.
Create(Axes : Ax2 from gp; Meridian : Curve from Geom; VMin, VMax, angle : Real)
returns MakeRevolution from BRepPrimAPI
---Purpose: Make a revolution body by rotating a curve around Z.
---Level: Public
raises
DomainError from Standard; -- if M is not in a plane containing Z.
---Purpose: For all algorithms the resulting shape is composed of
-- - a lateral revolved face,
-- - two planar faces in planes parallel to the plane z =
-- 0, and passing by the extremities of the revolved
-- portion of Meridian, if these points are not on the Z
-- axis (in case of a complete revolved shape, these faces are circles),
-- - and in the case of a portion of a revolved shape, two
-- planar faces to close the shape (in the planes u = 0 and u = angle).
OneAxis(me : in out) returns Address;
---Purpose: Returns the algorithm.
---Level: Advanced
Revolution(me : in out) returns Revolution from BRepPrim
---Purpose: Returns the algorithm.
--
---C++: return &
---Level: Public
is static;
fields
myRevolution : Revolution from BRepPrim;
end MakeRevolution;
|