1 -- Created on: 1993-03-02
2 -- Created by: Philippe DAUTRY
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 PGeom inherits SweptSurface from PGeom
19 ---Purpose : This class defines a complete surface of
20 -- revolution. The surface is obtained by rotating a
21 -- curve a complete revolution about an axis. The
22 -- curve and the axis must be in the same plane.
24 ---See Also : SurfaceOfRevolution from Geom.
29 SurfaceForm from GeomAbs,
35 Create returns SurfaceOfRevolution from PGeom;
36 ---Purpose: Creates a SurfaceOfRevolution with default values.
41 aBasisCurve : Curve from PGeom;
42 aDirection : Dir from gp;
43 aLocation : Pnt from gp)
44 returns SurfaceOfRevolution from PGeom;
45 ---Purpose: Creates a SurfaceOfRevolution with these values.
49 Location (me : mutable; aLocation : Pnt from gp);
50 ---Purpose : Set the value of the field location with <aLocation>.
54 Location (me) returns Pnt from gp;
55 ---Purpose : Returns the value of the field location.
61 location : Pnt from gp;