summaryrefslogtreecommitdiff
path: root/inc/IGESToBRep_BasicSurface.hxx
blob: 8b8ea1cbc10a4c1463e062211c304a888d28d38b (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
// 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 _IGESToBRep_BasicSurface_HeaderFile
#define _IGESToBRep_BasicSurface_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _IGESToBRep_CurveAndSurface_HeaderFile
#include <IGESToBRep_CurveAndSurface.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Geom_Surface_HeaderFile
#include <Handle_Geom_Surface.hxx>
#endif
#ifndef _Handle_IGESData_IGESEntity_HeaderFile
#include <Handle_IGESData_IGESEntity.hxx>
#endif
#ifndef _Handle_Geom_Plane_HeaderFile
#include <Handle_Geom_Plane.hxx>
#endif
#ifndef _Handle_IGESSolid_PlaneSurface_HeaderFile
#include <Handle_IGESSolid_PlaneSurface.hxx>
#endif
#ifndef _Handle_Geom_CylindricalSurface_HeaderFile
#include <Handle_Geom_CylindricalSurface.hxx>
#endif
#ifndef _Handle_IGESSolid_CylindricalSurface_HeaderFile
#include <Handle_IGESSolid_CylindricalSurface.hxx>
#endif
#ifndef _Handle_Geom_ConicalSurface_HeaderFile
#include <Handle_Geom_ConicalSurface.hxx>
#endif
#ifndef _Handle_IGESSolid_ConicalSurface_HeaderFile
#include <Handle_IGESSolid_ConicalSurface.hxx>
#endif
#ifndef _Handle_Geom_SphericalSurface_HeaderFile
#include <Handle_Geom_SphericalSurface.hxx>
#endif
#ifndef _Handle_IGESSolid_SphericalSurface_HeaderFile
#include <Handle_IGESSolid_SphericalSurface.hxx>
#endif
#ifndef _Handle_Geom_ToroidalSurface_HeaderFile
#include <Handle_Geom_ToroidalSurface.hxx>
#endif
#ifndef _Handle_IGESSolid_ToroidalSurface_HeaderFile
#include <Handle_IGESSolid_ToroidalSurface.hxx>
#endif
#ifndef _Handle_Geom_BSplineSurface_HeaderFile
#include <Handle_Geom_BSplineSurface.hxx>
#endif
#ifndef _Handle_IGESGeom_SplineSurface_HeaderFile
#include <Handle_IGESGeom_SplineSurface.hxx>
#endif
#ifndef _Handle_IGESGeom_BSplineSurface_HeaderFile
#include <Handle_IGESGeom_BSplineSurface.hxx>
#endif
class IGESToBRep_CurveAndSurface;
class Geom_Surface;
class IGESData_IGESEntity;
class Geom_Plane;
class IGESSolid_PlaneSurface;
class Geom_CylindricalSurface;
class IGESSolid_CylindricalSurface;
class Geom_ConicalSurface;
class IGESSolid_ConicalSurface;
class Geom_SphericalSurface;
class IGESSolid_SphericalSurface;
class Geom_ToroidalSurface;
class IGESSolid_ToroidalSurface;
class Geom_BSplineSurface;
class IGESGeom_SplineSurface;
class IGESGeom_BSplineSurface;


//! Provides methods to transfer basic geometric surface entities <br>
//!         from IGES to CASCADE. <br>
//!         These can be : <br>
//!         * Spline surface <br>
//!         * BSpline surface <br>
class IGESToBRep_BasicSurface  : public IGESToBRep_CurveAndSurface {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  //! Creates  a tool BasicSurface  ready  to  run, with <br>
//!          epsilons  set  to  1.E-04,  TheModeTopo  to  True,  the <br>
//!          optimization of  the continuity to False. <br>
  Standard_EXPORT   IGESToBRep_BasicSurface();
  //! Creates a tool BasicSurface ready to run and sets its <br>
//!          fields as CS's. <br>
  Standard_EXPORT   IGESToBRep_BasicSurface(const IGESToBRep_CurveAndSurface& CS);
  //! Creates a tool BasicSurface ready to run. <br>
  Standard_EXPORT   IGESToBRep_BasicSurface(const Standard_Real eps,const Standard_Real epsGeom,const Standard_Real epsCoeff,const Standard_Boolean mode,const Standard_Boolean modeapprox,const Standard_Boolean optimized);
  //! Returns Surface  from Geom if the last transfer has <br>
//!          succeded. <br>
  Standard_EXPORT     Handle_Geom_Surface TransferBasicSurface(const Handle(IGESData_IGESEntity)& start) ;
  //! Returns Plane from Geom if the transfer has <br>
//!          succeded. <br>
  Standard_EXPORT     Handle_Geom_Plane TransferPlaneSurface(const Handle(IGESSolid_PlaneSurface)& start) ;
  //! Returns CylindricalSurface from Geom if the transfer has <br>
//!          succeded. <br>
  Standard_EXPORT     Handle_Geom_CylindricalSurface TransferRigthCylindricalSurface(const Handle(IGESSolid_CylindricalSurface)& start) ;
  //! Returns ConicalSurface from Geom if the transfer has <br>
//!          succeded. <br>
  Standard_EXPORT     Handle_Geom_ConicalSurface TransferRigthConicalSurface(const Handle(IGESSolid_ConicalSurface)& start) ;
  //! Returns SphericalSurface from Geom if the transfer has <br>
//!          succeded. <br>
  Standard_EXPORT     Handle_Geom_SphericalSurface TransferSphericalSurface(const Handle(IGESSolid_SphericalSurface)& start) ;
  //! Returns SphericalSurface from Geom if the transfer has <br>
//!          succeded. <br>
  Standard_EXPORT     Handle_Geom_ToroidalSurface TransferToroidalSurface(const Handle(IGESSolid_ToroidalSurface)& start) ;
  //! Returns BSplineSurface  from Geom if the transfer has <br>
//!          succeded. <br>
  Standard_EXPORT     Handle_Geom_BSplineSurface TransferSplineSurface(const Handle(IGESGeom_SplineSurface)& start) ;
  //! Returns BSplineSurface  from Geom if the transfer has <br>
//!          succeded. <br>
  Standard_EXPORT     Handle_Geom_BSplineSurface TransferBSplineSurface(const Handle(IGESGeom_BSplineSurface)& start) ;





protected:





private:





};





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


#endif