blob: c4e48176b74a22f3f0ebdb40cb39e833cb534ed7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _IGESSolid_Cylinder_HeaderFile
#define _IGESSolid_Cylinder_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESSolid_Cylinder_HeaderFile
#include <Handle_IGESSolid_Cylinder.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _gp_XYZ_HeaderFile
#include <gp_XYZ.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
class gp_XYZ;
class gp_Pnt;
class gp_Dir;
//! defines Cylinder, Type <154> Form Number <0> <br>
//! in package IGESSolid <br>
//! This defines a solid cylinder <br>
class IGESSolid_Cylinder : public IGESData_IGESEntity {
public:
Standard_EXPORT IGESSolid_Cylinder();
//! This method is used to set the fields of the class <br>
//! Cylinder <br>
//! - aHeight : Cylinder height <br>
//! - aRadius : Cylinder radius <br>
//! - aCenter : First face center coordinates (default (0,0,0)) <br>
//! - anAxis : Unit vector in axis direction (default (0,0,1)) <br>
Standard_EXPORT void Init(const Standard_Real aHeight,const Standard_Real aRadius,const gp_XYZ& aCenter,const gp_XYZ& anAxis) ;
//! returns the cylinder height <br>
Standard_EXPORT Standard_Real Height() const;
//! returns the cylinder radius <br>
Standard_EXPORT Standard_Real Radius() const;
//! returns the first face center coordinates. <br>
Standard_EXPORT gp_Pnt FaceCenter() const;
//! returns the first face center after applying TransformationMatrix <br>
Standard_EXPORT gp_Pnt TransformedFaceCenter() const;
//! returns the vector in axis direction <br>
Standard_EXPORT gp_Dir Axis() const;
//! returns the vector in axis direction after applying <br>
//! TransformationMatrix <br>
Standard_EXPORT gp_Dir TransformedAxis() const;
DEFINE_STANDARD_RTTI(IGESSolid_Cylinder)
protected:
private:
Standard_Real theHeight;
Standard_Real theRadius;
gp_XYZ theFaceCenter;
gp_XYZ theAxis;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|