summaryrefslogtreecommitdiff
path: root/inc/IGESSolid_ToroidalSurface.hxx
blob: 30aab2dee553c59e4dab67ebc5d9ba70cbeebf20 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
// 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_ToroidalSurface_HeaderFile
#define _IGESSolid_ToroidalSurface_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESSolid_ToroidalSurface_HeaderFile
#include <Handle_IGESSolid_ToroidalSurface.hxx>
#endif

#ifndef _Handle_IGESGeom_Point_HeaderFile
#include <Handle_IGESGeom_Point.hxx>
#endif
#ifndef _Handle_IGESGeom_Direction_HeaderFile
#include <Handle_IGESGeom_Direction.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class IGESGeom_Point;
class IGESGeom_Direction;
class gp_Pnt;


//! defines ToroidalSurface, Type <198> Form Number <0,1> <br>
//!          in package IGESSolid <br>
//!          This entity is defined by the center point, the axis <br>
//!          direction and the major and minor radii. In case of <br>
//!          parametrised surface a reference direction is provided. <br>
class IGESSolid_ToroidalSurface : public IGESData_IGESEntity {

public:

  
  Standard_EXPORT   IGESSolid_ToroidalSurface();
  //! This method is used to set the fields of the class <br>
//!           ToroidalSurface <br>
//!       - aCenter   : the center point coordinates <br>
//!       - anAxis    : the direction of the axis <br>
//!       - majRadius : the major radius <br>
//!       - minRadius : the minor radius <br>
//!       - Refdir    : the reference direction (parametrised) <br>
//!                     default Null for unparametrised surface <br>
  Standard_EXPORT     void Init(const Handle(IGESGeom_Point)& aCenter,const Handle(IGESGeom_Direction)& anAxis,const Standard_Real majRadius,const Standard_Real minRadius,const Handle(IGESGeom_Direction)& Refdir) ;
  //! returns the center point coordinates of the surface <br>
  Standard_EXPORT     Handle_IGESGeom_Point Center() const;
  //! returns the center point coordinates of the surface <br>
//! after applying TransformationMatrix <br>
  Standard_EXPORT     gp_Pnt TransformedCenter() const;
  //! returns the direction of the axis <br>
  Standard_EXPORT     Handle_IGESGeom_Direction Axis() const;
  //! returns the major radius of the surface <br>
  Standard_EXPORT     Standard_Real MajorRadius() const;
  //! returns the minor radius of the surface <br>
  Standard_EXPORT     Standard_Real MinorRadius() const;
  //! returns the reference direction (parametrised surface) <br>
//! Null is returned if the surface is not parametrised <br>
  Standard_EXPORT     Handle_IGESGeom_Direction ReferenceDir() const;
  //! Returns True if the surface is parametrised, else False <br>
  Standard_EXPORT     Standard_Boolean IsParametrised() const;




  DEFINE_STANDARD_RTTI(IGESSolid_ToroidalSurface)

protected:




private: 


Handle_IGESGeom_Point theCenter;
Handle_IGESGeom_Direction theAxis;
Standard_Real theMajorRadius;
Standard_Real theMinorRadius;
Handle_IGESGeom_Direction theRefDir;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif