summaryrefslogtreecommitdiff
path: root/inc/Contap_TheLineOfContour.hxx
blob: d004892f156e6af003abbd237b3b38b106446468 (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
169
170
171
172
173
174
175
176
177
178
179
// 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 _Contap_TheLineOfContour_HeaderFile
#define _Contap_TheLineOfContour_HeaderFile

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

#ifndef _IntSurf_TypeTrans_HeaderFile
#include <IntSurf_TypeTrans.hxx>
#endif
#ifndef _Handle_IntSurf_LineOn2S_HeaderFile
#include <Handle_IntSurf_LineOn2S.hxx>
#endif
#ifndef _Handle_Contap_TheHSequenceOfPointOfContour_HeaderFile
#include <Handle_Contap_TheHSequenceOfPointOfContour.hxx>
#endif
#ifndef _Handle_Adaptor2d_HCurve2d_HeaderFile
#include <Handle_Adaptor2d_HCurve2d.hxx>
#endif
#ifndef _Contap_IType_HeaderFile
#include <Contap_IType.hxx>
#endif
#ifndef _gp_Pnt_HeaderFile
#include <gp_Pnt.hxx>
#endif
#ifndef _gp_Dir_HeaderFile
#include <gp_Dir.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Handle_Adaptor3d_HVertex_HeaderFile
#include <Handle_Adaptor3d_HVertex.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _gp_Lin_HeaderFile
#include <gp_Lin.hxx>
#endif
#ifndef _gp_Circ_HeaderFile
#include <gp_Circ.hxx>
#endif
class IntSurf_LineOn2S;
class Contap_TheHSequenceOfPointOfContour;
class Adaptor2d_HCurve2d;
class Standard_DomainError;
class Standard_OutOfRange;
class Adaptor3d_HVertex;
class Contap_ThePointOfContour;
class IntSurf_PntOn2S;
class gp_Lin;
class gp_Circ;



class Contap_TheLineOfContour  {
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); 
  }

  
  Standard_EXPORT   Contap_TheLineOfContour();
  
  Standard_EXPORT     void SetLineOn2S(const Handle(IntSurf_LineOn2S)& L) ;
  
  Standard_EXPORT     void Clear() ;
  
       const Handle_IntSurf_LineOn2S& LineOn2S() const;
  
  Standard_EXPORT     void ResetSeqOfVertex() ;
  
        void Add(const IntSurf_PntOn2S& P) ;
  
  Standard_EXPORT     void SetValue(const gp_Lin& L) ;
  
  Standard_EXPORT     void SetValue(const gp_Circ& C) ;
  
  Standard_EXPORT     void SetValue(const Handle(Adaptor2d_HCurve2d)& A) ;
  
  Standard_EXPORT     void Add(const Contap_ThePointOfContour& P) ;
  
        Standard_Integer NbVertex() const;
  
        Contap_ThePointOfContour& Vertex(const Standard_Integer Index) const;
  
        Contap_IType TypeContour() const;
  
        Standard_Integer NbPnts() const;
  
       const IntSurf_PntOn2S& Point(const Standard_Integer Index) const;
  
        gp_Lin Line() const;
  
        gp_Circ Circle() const;
  
  Standard_EXPORT    const Handle_Adaptor2d_HCurve2d& Arc() const;
  
  Standard_EXPORT     void SetTransitionOnS(const IntSurf_TypeTrans T) ;
  
  Standard_EXPORT     IntSurf_TypeTrans TransitionOnS() const;





protected:





private:



IntSurf_TypeTrans Trans;
Handle_IntSurf_LineOn2S curv;
Handle_Contap_TheHSequenceOfPointOfContour svtx;
Handle_Adaptor2d_HCurve2d thearc;
Contap_IType typL;
gp_Pnt pt;
gp_Dir dir1;
gp_Dir dir2;
Standard_Real rad;


};

#define TheVertex Handle_Adaptor3d_HVertex
#define TheVertex_hxx <Adaptor3d_HVertex.hxx>
#define TheArc Handle_Adaptor2d_HCurve2d
#define TheArc_hxx <Adaptor2d_HCurve2d.hxx>
#define ThePoint Contap_ThePointOfContour
#define ThePoint_hxx <Contap_ThePointOfContour.hxx>
#define Handle_TheHSequenceOfPoint Handle_Contap_TheHSequenceOfPointOfContour
#define TheHSequenceOfPoint Contap_TheHSequenceOfPointOfContour
#define TheHSequenceOfPoint_hxx <Contap_TheHSequenceOfPointOfContour.hxx>
#define Contap_Line Contap_TheLineOfContour
#define Contap_Line_hxx <Contap_TheLineOfContour.hxx>

#include <Contap_Line.lxx>

#undef TheVertex
#undef TheVertex_hxx
#undef TheArc
#undef TheArc_hxx
#undef ThePoint
#undef ThePoint_hxx
#undef Handle_TheHSequenceOfPoint
#undef TheHSequenceOfPoint
#undef TheHSequenceOfPoint_hxx
#undef Contap_Line
#undef Contap_Line_hxx


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


#endif