summaryrefslogtreecommitdiff
path: root/inc/IGESToBRep_BRepEntity.hxx
blob: 1b3b06d08e1cc9256f48fd79179b7f677445d5e4 (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
// 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_BRepEntity_HeaderFile
#define _IGESToBRep_BRepEntity_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_IGESData_IGESEntity_HeaderFile
#include <Handle_IGESData_IGESEntity.hxx>
#endif
#ifndef _Handle_IGESSolid_VertexList_HeaderFile
#include <Handle_IGESSolid_VertexList.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_IGESSolid_EdgeList_HeaderFile
#include <Handle_IGESSolid_EdgeList.hxx>
#endif
#ifndef _Handle_IGESSolid_Loop_HeaderFile
#include <Handle_IGESSolid_Loop.hxx>
#endif
#ifndef _Handle_IGESSolid_Face_HeaderFile
#include <Handle_IGESSolid_Face.hxx>
#endif
#ifndef _Handle_IGESSolid_Shell_HeaderFile
#include <Handle_IGESSolid_Shell.hxx>
#endif
#ifndef _Handle_IGESSolid_ManifoldSolid_HeaderFile
#include <Handle_IGESSolid_ManifoldSolid.hxx>
#endif
class IGESToBRep_CurveAndSurface;
class TopoDS_Shape;
class IGESData_IGESEntity;
class TopoDS_Vertex;
class IGESSolid_VertexList;
class IGESSolid_EdgeList;
class IGESSolid_Loop;
class TopoDS_Face;
class gp_Trsf2d;
class IGESSolid_Face;
class IGESSolid_Shell;
class IGESSolid_ManifoldSolid;


//! Provides methods to transfer BRep entities <br>
//!           ( VertexList 502, EdgeList 504, Loop 508, <br>
//!             Face 510, Shell 514, ManifoldSolid 186) <br>
//!           from IGES to CASCADE. <br>
class IGESToBRep_BRepEntity  : 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 BRepEntity  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_BRepEntity();
  //! Creates a tool BRepEntity ready to run and sets its <br>
//!           fields as CS's. <br>
  Standard_EXPORT   IGESToBRep_BRepEntity(const IGESToBRep_CurveAndSurface& CS);
  //! Creates a tool BRepEntity ready to run. <br>
  Standard_EXPORT   IGESToBRep_BRepEntity(const Standard_Real eps,const Standard_Real epsGeom,const Standard_Real epsCoeff,const Standard_Boolean mode,const Standard_Boolean modeapprox,const Standard_Boolean optimized);
  //! Transfer the BRepEntity" : Face, Shell or ManifoldSolid. <br>
  Standard_EXPORT     TopoDS_Shape TransferBRepEntity(const Handle(IGESData_IGESEntity)& start) ;
  //! Transfer the entity number "index" of the VertexList "start" <br>
  Standard_EXPORT     TopoDS_Vertex TransferVertex(const Handle(IGESSolid_VertexList)& start,const Standard_Integer index) ;
  //! Transfer the entity number "index" of the EdgeList "start". <br>
  Standard_EXPORT     TopoDS_Shape TransferEdge(const Handle(IGESSolid_EdgeList)& start,const Standard_Integer index) ;
  //! Transfer the Loop Entity <br>
  Standard_EXPORT     TopoDS_Shape TransferLoop(const Handle(IGESSolid_Loop)& start,const TopoDS_Face& Face,const gp_Trsf2d& trans,const Standard_Real uFact) ;
  //! Transfer the Face Entity <br>
  Standard_EXPORT     TopoDS_Shape TransferFace(const Handle(IGESSolid_Face)& start) ;
  //! Transfer the Shell Entity <br>
  Standard_EXPORT     TopoDS_Shape TransferShell(const Handle(IGESSolid_Shell)& start) ;
  //! Transfer the ManifoldSolid Entity <br>
  Standard_EXPORT     TopoDS_Shape TransferManifoldSolid(const Handle(IGESSolid_ManifoldSolid)& start) ;





protected:





private:





};





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


#endif