1 // Created on: 1993-01-09
2 // Created by: CKY / Contract Toubro-Larsen ( TCD )
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 #ifndef _IGESGeom_TabulatedCylinder_HeaderFile
18 #define _IGESGeom_TabulatedCylinder_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
24 #include <IGESData_IGESEntity.hxx>
25 class IGESData_IGESEntity;
30 class IGESGeom_TabulatedCylinder;
31 DEFINE_STANDARD_HANDLE(IGESGeom_TabulatedCylinder, IGESData_IGESEntity)
33 //! defines IGESTabulatedCylinder, Type <122> Form <0>
34 //! in package IGESGeom
35 //! A tabulated cylinder is a surface formed by moving a line
36 //! segment called generatrix parallel to itself along a curve
37 //! called directrix. The curve may be a line, circular arc,
38 //! conic arc, parametric spline curve, rational B-spline
39 //! curve or composite curve.
40 class IGESGeom_TabulatedCylinder : public IGESData_IGESEntity
46 Standard_EXPORT IGESGeom_TabulatedCylinder();
48 //! This method is used to set the fields of the class
50 //! - aDirectrix : Directrix Curve of the tabulated cylinder
51 //! - anEnd : Coordinates of the terminate point of the
53 //! The start point of the directrix is identical to the start
54 //! point of the generatrix
55 Standard_EXPORT void Init (const Handle(IGESData_IGESEntity)& aDirectrix, const gp_XYZ& anEnd);
57 //! returns the directrix curve of the tabulated cylinder
58 Standard_EXPORT Handle(IGESData_IGESEntity) Directrix() const;
60 //! returns end point of generatrix of the tabulated cylinder
61 Standard_EXPORT gp_Pnt EndPoint() const;
63 //! returns end point of generatrix of the tabulated cylinder
64 //! after applying Transf. Matrix
65 Standard_EXPORT gp_Pnt TransformedEndPoint() const;
70 DEFINE_STANDARD_RTTIEXT(IGESGeom_TabulatedCylinder,IGESData_IGESEntity)
80 Handle(IGESData_IGESEntity) theDirectrix;
92 #endif // _IGESGeom_TabulatedCylinder_HeaderFile