summaryrefslogtreecommitdiff
path: root/inc/BRepBlend_Extremity.hxx
blob: 27d566cc7ab3f526fcd600c4c7b4f1b05a73cb1e (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
// 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 _BRepBlend_Extremity_HeaderFile
#define _BRepBlend_Extremity_HeaderFile

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

#ifndef _Handle_Adaptor3d_HVertex_HeaderFile
#include <Handle_Adaptor3d_HVertex.hxx>
#endif
#ifndef _BRepBlend_SequenceOfPointOnRst_HeaderFile
#include <BRepBlend_SequenceOfPointOnRst.hxx>
#endif
#ifndef _gp_Pnt_HeaderFile
#include <gp_Pnt.hxx>
#endif
#ifndef _gp_Vec_HeaderFile
#include <gp_Vec.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Adaptor2d_HCurve2d_HeaderFile
#include <Handle_Adaptor2d_HCurve2d.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class Adaptor3d_HVertex;
class Standard_DomainError;
class Standard_OutOfRange;
class Adaptor2d_HCurve2d;
class BRepBlend_PointOnRst;
class BRepBlend_SequenceOfPointOnRst;
class gp_Pnt;
class gp_Vec;
class IntSurf_Transition;



class BRepBlend_Extremity  {
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   BRepBlend_Extremity();
  
  Standard_EXPORT   BRepBlend_Extremity(const gp_Pnt& P,const Standard_Real U,const Standard_Real V,const Standard_Real Param,const Standard_Real Tol);
  
  Standard_EXPORT   BRepBlend_Extremity(const gp_Pnt& P,const Standard_Real U,const Standard_Real V,const Standard_Real Param,const Standard_Real Tol,const Handle(Adaptor3d_HVertex)& Vtx);
  
  Standard_EXPORT   BRepBlend_Extremity(const gp_Pnt& P,const Standard_Real W,const Standard_Real Param,const Standard_Real Tol);
  
  Standard_EXPORT     void SetValue(const gp_Pnt& P,const Standard_Real U,const Standard_Real V,const Standard_Real Param,const Standard_Real Tol) ;
  
  Standard_EXPORT     void SetValue(const gp_Pnt& P,const Standard_Real U,const Standard_Real V,const Standard_Real Param,const Standard_Real Tol,const Handle(Adaptor3d_HVertex)& Vtx) ;
  
  Standard_EXPORT     void SetValue(const gp_Pnt& P,const Standard_Real W,const Standard_Real Param,const Standard_Real Tol) ;
  
       const gp_Pnt& Value() const;
  
        void SetTangent(const gp_Vec& Tangent) ;
  
        Standard_Boolean HasTangent() const;
  
       const gp_Vec& Tangent() const;
  
        Standard_Real Tolerance() const;
  
  Standard_EXPORT     void SetVertex(const Handle(Adaptor3d_HVertex)& V) ;
  
  Standard_EXPORT     void AddArc(const Handle(Adaptor2d_HCurve2d)& A,const Standard_Real Param,const IntSurf_Transition& TLine,const IntSurf_Transition& TArc) ;
  
        void Parameters(Standard_Real& U,Standard_Real& V) const;
  
        Standard_Boolean IsVertex() const;
  
       const Handle_Adaptor3d_HVertex& Vertex() const;
  
        Standard_Integer NbPointOnRst() const;
  
       const BRepBlend_PointOnRst& PointOnRst(const Standard_Integer Index) const;
  
        Standard_Real Parameter() const;
  
        Standard_Real ParameterOnGuide() const;





protected:





private:



Handle_Adaptor3d_HVertex vtx;
BRepBlend_SequenceOfPointOnRst seqpt;
gp_Pnt pt;
gp_Vec tang;
Standard_Real param;
Standard_Real u;
Standard_Real v;
Standard_Real tol;
Standard_Boolean isvtx;
Standard_Boolean hastang;


};

#define TheVertex Handle_Adaptor3d_HVertex
#define TheVertex_hxx <Adaptor3d_HVertex.hxx>
#define TheArc Handle_Adaptor2d_HCurve2d
#define TheArc_hxx <Adaptor2d_HCurve2d.hxx>
#define ThePointOnRst BRepBlend_PointOnRst
#define ThePointOnRst_hxx <BRepBlend_PointOnRst.hxx>
#define TheSequenceOfPointOnRst BRepBlend_SequenceOfPointOnRst
#define TheSequenceOfPointOnRst_hxx <BRepBlend_SequenceOfPointOnRst.hxx>
#define Blend_Extremity BRepBlend_Extremity
#define Blend_Extremity_hxx <BRepBlend_Extremity.hxx>

#include <Blend_Extremity.lxx>

#undef TheVertex
#undef TheVertex_hxx
#undef TheArc
#undef TheArc_hxx
#undef ThePointOnRst
#undef ThePointOnRst_hxx
#undef TheSequenceOfPointOnRst
#undef TheSequenceOfPointOnRst_hxx
#undef Blend_Extremity
#undef Blend_Extremity_hxx


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


#endif