summaryrefslogtreecommitdiff
path: root/inc/HLRAlgo_PolyInternalData.hxx
blob: 872e26d9fb28d8eb9568bc9a5745d7f12d7216bb (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
// 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 _HLRAlgo_PolyInternalData_HeaderFile
#define _HLRAlgo_PolyInternalData_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_HLRAlgo_PolyInternalData_HeaderFile
#include <Handle_HLRAlgo_PolyInternalData.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_HLRAlgo_HArray1OfTData_HeaderFile
#include <Handle_HLRAlgo_HArray1OfTData.hxx>
#endif
#ifndef _Handle_HLRAlgo_HArray1OfPISeg_HeaderFile
#include <Handle_HLRAlgo_HArray1OfPISeg.hxx>
#endif
#ifndef _Handle_HLRAlgo_HArray1OfPINod_HeaderFile
#include <Handle_HLRAlgo_HArray1OfPINod.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
class HLRAlgo_HArray1OfTData;
class HLRAlgo_HArray1OfPISeg;
class HLRAlgo_HArray1OfPINod;
class HLRAlgo_Array1OfTData;
class HLRAlgo_Array1OfPISeg;
class HLRAlgo_Array1OfPINod;



class HLRAlgo_PolyInternalData : public MMgt_TShared {

public:

  
  Standard_EXPORT   HLRAlgo_PolyInternalData(const Standard_Integer nbNod,const Standard_Integer nbTri);
  
  Standard_EXPORT     void UpdateLinks(Standard_Address& TData,Standard_Address& PISeg,Standard_Address& PINod) ;
  
  Standard_EXPORT     Standard_Integer AddNode(const Standard_Address Nod1RValues,const Standard_Address Nod2RValues,Standard_Address& PINod1,Standard_Address& PINod2,const Standard_Real coef1,const Standard_Real X3,const Standard_Real Y3,const Standard_Real Z3) ;
  
  Standard_EXPORT     void UpdateLinks(const Standard_Integer ip1,const Standard_Integer ip2,const Standard_Integer ip3,Standard_Address& TData1,Standard_Address& TData2,Standard_Address& PISeg1,Standard_Address& PISeg2,Standard_Address& PINod1,Standard_Address& PINod2) ;
  
  Standard_EXPORT     void Dump() const;
  
  Standard_EXPORT     void IncTData(Standard_Address& TData1,Standard_Address& TData2) ;
  
  Standard_EXPORT     void IncPISeg(Standard_Address& PISeg1,Standard_Address& PISeg2) ;
  
  Standard_EXPORT     void IncPINod(Standard_Address& PINod1,Standard_Address& PINod2) ;
  
        void DecTData() ;
  
        void DecPISeg() ;
  
        void DecPINod() ;
  
        Standard_Integer NbTData() const;
  
        Standard_Integer NbPISeg() const;
  
        Standard_Integer NbPINod() const;
  
        Standard_Boolean Planar() const;
  
        void Planar(const Standard_Boolean B) ;
  
        Standard_Boolean IntOutL() const;
  
        void IntOutL(const Standard_Boolean B) ;
  
        HLRAlgo_Array1OfTData& TData() const;
  
        HLRAlgo_Array1OfPISeg& PISeg() const;
  
        HLRAlgo_Array1OfPINod& PINod() const;




  DEFINE_STANDARD_RTTI(HLRAlgo_PolyInternalData)

protected:




private: 


Standard_Integer myNbTData;
Standard_Integer myNbPISeg;
Standard_Integer myNbPINod;
Standard_Integer myMxTData;
Standard_Integer myMxPISeg;
Standard_Integer myMxPINod;
Standard_Boolean myIntOutL;
Standard_Boolean myPlanar;
Handle_HLRAlgo_HArray1OfTData myTData;
Handle_HLRAlgo_HArray1OfPISeg myPISeg;
Handle_HLRAlgo_HArray1OfPINod myPINod;


};


#include <HLRAlgo_PolyInternalData.lxx>



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


#endif