summaryrefslogtreecommitdiff
path: root/inc/TopOpeBRep_Point2d.hxx
blob: da2675482efd67d2272aa31f4d842f559471f176 (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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
// 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 _TopOpeBRep_Point2d_HeaderFile
#define _TopOpeBRep_Point2d_HeaderFile

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

#ifndef _IntRes2d_IntersectionPoint_HeaderFile
#include <IntRes2d_IntersectionPoint.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _TopoDS_Vertex_HeaderFile
#include <TopoDS_Vertex.hxx>
#endif
#ifndef _TopOpeBRepDS_Transition_HeaderFile
#include <TopOpeBRepDS_Transition.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _TopOpeBRep_P2Dstatus_HeaderFile
#include <TopOpeBRep_P2Dstatus.hxx>
#endif
#ifndef _gp_Pnt_HeaderFile
#include <gp_Pnt.hxx>
#endif
#ifndef _gp_Pnt2d_HeaderFile
#include <gp_Pnt2d.hxx>
#endif
#ifndef _TopOpeBRepDS_Config_HeaderFile
#include <TopOpeBRepDS_Config.hxx>
#endif
#ifndef _Handle_TopOpeBRep_Hctxff2d_HeaderFile
#include <Handle_TopOpeBRep_Hctxff2d.hxx>
#endif
#ifndef _Handle_TopOpeBRep_Hctxee2d_HeaderFile
#include <Handle_TopOpeBRep_Hctxee2d.hxx>
#endif
class TopOpeBRep_Hctxff2d;
class TopOpeBRep_Hctxee2d;
class TopOpeBRep_EdgesIntersector;
class IntRes2d_IntersectionPoint;
class TopoDS_Vertex;
class TopOpeBRepDS_Transition;
class gp_Pnt;
class gp_Pnt2d;



class TopOpeBRep_Point2d  {
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   TopOpeBRep_Point2d();
  
  Standard_EXPORT     void Dump(const Standard_Integer ie1 = 0,const Standard_Integer ie2 = 0) const;
  
        void SetPint(const IntRes2d_IntersectionPoint& P) ;
  
        Standard_Boolean HasPint() const;
  
       const IntRes2d_IntersectionPoint& Pint() const;
  
        void SetIsVertex(const Standard_Integer I,const Standard_Boolean B) ;
  
        Standard_Boolean IsVertex(const Standard_Integer I) const;
  
        void SetVertex(const Standard_Integer I,const TopoDS_Vertex& V) ;
  
  Standard_EXPORT    const TopoDS_Vertex& Vertex(const Standard_Integer I) const;
  
        void SetTransition(const Standard_Integer I,const TopOpeBRepDS_Transition& T) ;
  
  Standard_EXPORT    const TopOpeBRepDS_Transition& Transition(const Standard_Integer I) const;
  
  Standard_EXPORT     TopOpeBRepDS_Transition& ChangeTransition(const Standard_Integer I) ;
  
        void SetParameter(const Standard_Integer I,const Standard_Real P) ;
  
        Standard_Real Parameter(const Standard_Integer I) const;
  
        void SetIsPointOfSegment(const Standard_Boolean B) ;
  
        Standard_Boolean IsPointOfSegment() const;
  
        void SetSegmentAncestors(const Standard_Integer IP1,const Standard_Integer IP2) ;
  
        Standard_Boolean SegmentAncestors(Standard_Integer& IP1,Standard_Integer& IP2) const;
  
        void SetStatus(const TopOpeBRep_P2Dstatus S) ;
  
        TopOpeBRep_P2Dstatus Status() const;
  
        void SetIndex(const Standard_Integer X) ;
  
        Standard_Integer Index() const;
  
        void SetValue(const gp_Pnt& P) ;
  
       const gp_Pnt& Value() const;
  
        void SetValue2d(const gp_Pnt2d& P) ;
  
       const gp_Pnt2d& Value2d() const;
  
        void SetKeep(const Standard_Boolean B) ;
  
        Standard_Boolean Keep() const;
  
        void SetEdgesConfig(const TopOpeBRepDS_Config C) ;
  
        TopOpeBRepDS_Config EdgesConfig() const;
  
        void SetTolerance(const Standard_Real T) ;
  
        Standard_Real Tolerance() const;
  
        void SetHctxff2d(const Handle(TopOpeBRep_Hctxff2d)& ff2d) ;
  
        Handle_TopOpeBRep_Hctxff2d Hctxff2d() const;
  
        void SetHctxee2d(const Handle(TopOpeBRep_Hctxee2d)& ee2d) ;
  
        Handle_TopOpeBRep_Hctxee2d Hctxee2d() const;


friend class TopOpeBRep_EdgesIntersector;



protected:





private:



IntRes2d_IntersectionPoint mypint;
Standard_Boolean myhaspint;
Standard_Boolean myisvertex1;
TopoDS_Vertex myvertex1;
TopOpeBRepDS_Transition mytransition1;
Standard_Real myparameter1;
Standard_Boolean myisvertex2;
TopoDS_Vertex myvertex2;
TopOpeBRepDS_Transition mytransition2;
Standard_Real myparameter2;
Standard_Boolean myispointofsegment;
Standard_Integer myips1;
Standard_Integer myips2;
Standard_Boolean myhasancestors;
TopOpeBRep_P2Dstatus mystatus;
Standard_Integer myindex;
gp_Pnt mypnt;
gp_Pnt2d mypnt2d;
Standard_Boolean mykeep;
TopOpeBRepDS_Config myedgesconfig;
Standard_Real mytolerance;
Handle_TopOpeBRep_Hctxff2d myctxff2d;
Handle_TopOpeBRep_Hctxee2d myctxee2d;


};


#include <TopOpeBRep_Point2d.lxx>



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


#endif