1 -- Created on: 1993-01-09
2 -- Created by: CKY / Contract Toubro-Larsen ( Kiran )
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class SurfaceOfRevolution from IGESGeom inherits IGESEntity
19 ---Purpose: defines IGESSurfaceOfRevolution, Type <120> Form <0>
20 -- in package IGESGeom
21 -- A surface of revolution is defined by an axis of rotation
22 -- a generatrix, and start and terminate rotation angles. The
23 -- surface is created by rotating the generatrix about the axis
24 -- of rotation through the start and terminate rotation angles.
37 Create returns SurfaceOfRevolution;
39 -- Specific Methods pertaining to the class
43 aGeneratrix : IGESEntity;
46 ---Purpose : This method is used to set the fields of the class Line
47 -- - anAxis : Axis of revolution
48 -- - aGeneratrix : The curve which is revolved about the axis
49 -- - aStartAngle : Start angle of the surface of revolution
50 -- - anEndAngle : End angle of the surface of revolution
52 AxisOfRevolution (me) returns Line;
53 ---Purpose : returns the axis of revolution
55 Generatrix (me) returns IGESEntity;
56 ---Purpose : returns the curve which is revolved about the axis
58 StartAngle (me) returns Real;
59 ---Purpose : returns start angle of revolution
61 EndAngle (me) returns Real;
62 ---Purpose : returns end angle of revolution
67 -- Class : IGESGeom_SurfaceOfRevolution
69 -- Purpose : Declaration of variables specific to the definition
70 -- of the Class SurfaceOfRevolution.
72 -- Reminder : A SurfaceOfRevolution instance is defined by :
73 -- An axis, a generatrix curve which is rotated about
74 -- the axis, the start and ending angles of rotation.
77 theGeneratrix : IGESEntity;
81 end SurfaceOfRevolution;