0030675: Visualization - remove redundant proxy classes in hierarchy of PrsMgr_Presen...
[occt.git] / src / IGESGeom / IGESGeom_TabulatedCylinder.hxx
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
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _IGESGeom_TabulatedCylinder_HeaderFile
18 #define _IGESGeom_TabulatedCylinder_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
22
23 #include <gp_XYZ.hxx>
24 #include <IGESData_IGESEntity.hxx>
25 class IGESData_IGESEntity;
26 class gp_XYZ;
27 class gp_Pnt;
28
29
30 class IGESGeom_TabulatedCylinder;
31 DEFINE_STANDARD_HANDLE(IGESGeom_TabulatedCylinder, IGESData_IGESEntity)
32
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
41 {
42
43 public:
44
45   
46   Standard_EXPORT IGESGeom_TabulatedCylinder();
47   
48   //! This method is used to set the fields of the class
49   //! TabulatedCylinder
50   //! - aDirectrix : Directrix Curve of the tabulated cylinder
51   //! - anEnd      : Coordinates of the terminate point of the
52   //! generatrix
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);
56   
57   //! returns the directrix curve of the tabulated cylinder
58   Standard_EXPORT Handle(IGESData_IGESEntity) Directrix() const;
59   
60   //! returns end point of generatrix of the tabulated cylinder
61   Standard_EXPORT gp_Pnt EndPoint() const;
62   
63   //! returns end point of generatrix of the tabulated cylinder
64   //! after applying Transf. Matrix
65   Standard_EXPORT gp_Pnt TransformedEndPoint() const;
66
67
68
69
70   DEFINE_STANDARD_RTTIEXT(IGESGeom_TabulatedCylinder,IGESData_IGESEntity)
71
72 protected:
73
74
75
76
77 private:
78
79
80   Handle(IGESData_IGESEntity) theDirectrix;
81   gp_XYZ theEnd;
82
83
84 };
85
86
87
88
89
90
91
92 #endif // _IGESGeom_TabulatedCylinder_HeaderFile