0022627: Change OCCT memory management defaults
[occt.git] / src / PGeom / PGeom_SurfaceOfRevolution.cdl
CommitLineData
7fd59977 1-- File: PGeom_SurfaceOfRevolution.cdl
2-- Created: Tue Mar 2 11:30:57 1993
3-- Author: Philippe DAUTRY
4-- <fid@phylox>
5-- Copyright: Matra Datavision 1993
6
7
8class SurfaceOfRevolution from PGeom inherits SweptSurface from PGeom
9
10 ---Purpose : This class defines a complete surface of
11 -- revolution. The surface is obtained by rotating a
12 -- curve a complete revolution about an axis. The
13 -- curve and the axis must be in the same plane.
14 --
15 ---See Also : SurfaceOfRevolution from Geom.
16
17uses Dir from gp,
18 Pnt from gp,
19 Curve from PGeom,
20 SurfaceForm from GeomAbs,
21 Shape from GeomAbs
22
23is
24
25
26 Create returns mutable SurfaceOfRevolution from PGeom;
27 ---Purpose: Creates a SurfaceOfRevolution with default values.
28 ---Level: Internal
29
30
31 Create (
32 aBasisCurve : Curve from PGeom;
33 aDirection : Dir from gp;
34 aLocation : Pnt from gp)
35 returns mutable SurfaceOfRevolution from PGeom;
36 ---Purpose: Creates a SurfaceOfRevolution with these values.
37 ---Level: Internal
38
39
40 Location (me : mutable; aLocation : Pnt from gp);
41 ---Purpose : Set the value of the field location with <aLocation>.
42 ---Level: Internal
43
44
45 Location (me) returns Pnt from gp;
46 ---Purpose : Returns the value of the field location.
47 ---Level: Internal
48
49
50fields
51
52 location : Pnt from gp;
53
54end;