summaryrefslogtreecommitdiff
path: root/inc/Blend_Point.hxx
blob: 202fe804ef8a37101b79b9ac052e79a3ebc0b0e1 (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
// 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 _Blend_Point_HeaderFile
#define _Blend_Point_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.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 _gp_Vec2d_HeaderFile
#include <gp_Vec2d.hxx>
#endif
class Standard_DomainError;
class gp_Pnt;
class gp_Vec;
class gp_Vec2d;



class Blend_Point  {
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   Blend_Point();
  //! Creates a point on 2 surfaces, with tangents. <br>
  Standard_EXPORT   Blend_Point(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2,const gp_Vec& Tg1,const gp_Vec& Tg2,const gp_Vec2d& Tg12d,const gp_Vec2d& Tg22d);
  //! Creates a point on 2 surfaces, without tangents. <br>
  Standard_EXPORT   Blend_Point(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2);
  //! Creates a point on a surface and a curve, with tangents. <br>
  Standard_EXPORT   Blend_Point(const gp_Pnt& Pts,const gp_Pnt& Ptc,const Standard_Real Param,const Standard_Real U,const Standard_Real V,const Standard_Real W,const gp_Vec& Tgs,const gp_Vec& Tgc,const gp_Vec2d& Tg2d);
  //! Creates a point on a surface and a curve, without tangents. <br>
  Standard_EXPORT   Blend_Point(const gp_Pnt& Pts,const gp_Pnt& Ptc,const Standard_Real Param,const Standard_Real U,const Standard_Real V,const Standard_Real W);
  //! Creates a point on a surface and a curve on surface, <br>
//!          with tangents. <br>
  Standard_EXPORT   Blend_Point(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2,const Standard_Real PC,const gp_Vec& Tg1,const gp_Vec& Tg2,const gp_Vec2d& Tg12d,const gp_Vec2d& Tg22d);
  //! Creates a point on a surface and a curve on surface, <br>
//!          without tangents. <br>
  Standard_EXPORT   Blend_Point(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2,const Standard_Real PC);
  //! Creates a point on two curves on surfaces, with tangents. <br>
  Standard_EXPORT   Blend_Point(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2,const Standard_Real PC1,const Standard_Real PC2,const gp_Vec& Tg1,const gp_Vec& Tg2,const gp_Vec2d& Tg12d,const gp_Vec2d& Tg22d);
  //! Creates a point on two curves on surfaces, with tangents. <br>
  Standard_EXPORT   Blend_Point(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2,const Standard_Real PC1,const Standard_Real PC2);
  //! Set the values for a point on 2 surfaces, with tangents. <br>
  Standard_EXPORT     void SetValue(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2,const gp_Vec& Tg1,const gp_Vec& Tg2,const gp_Vec2d& Tg12d,const gp_Vec2d& Tg22d) ;
  //! Set the values for a point on 2 surfaces, without tangents. <br>
  Standard_EXPORT     void SetValue(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2) ;
  //! Set the values for a point on a surface and a curve, <br>
//!          with tangents. <br>
  Standard_EXPORT     void SetValue(const gp_Pnt& Pts,const gp_Pnt& Ptc,const Standard_Real Param,const Standard_Real U,const Standard_Real V,const Standard_Real W,const gp_Vec& Tgs,const gp_Vec& Tgc,const gp_Vec2d& Tg2d) ;
  //! Set the values for a point on a surface and a curve, <br>
//!          without tangents. <br>
  Standard_EXPORT     void SetValue(const gp_Pnt& Pts,const gp_Pnt& Ptc,const Standard_Real Param,const Standard_Real U,const Standard_Real V,const Standard_Real W) ;
  //! Creates a point on a surface and a curve on surface, <br>
//!          with tangents. <br>
  Standard_EXPORT     void SetValue(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2,const Standard_Real PC,const gp_Vec& Tg1,const gp_Vec& Tg2,const gp_Vec2d& Tg12d,const gp_Vec2d& Tg22d) ;
  //! Creates a point on a surface and a curve on surface, <br>
//!          without tangents. <br>
  Standard_EXPORT     void SetValue(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2,const Standard_Real PC) ;
  //! Creates a point on two curves on surfaces, with tangents. <br>
  Standard_EXPORT     void SetValue(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2,const Standard_Real PC1,const Standard_Real PC2,const gp_Vec& Tg1,const gp_Vec& Tg2,const gp_Vec2d& Tg12d,const gp_Vec2d& Tg22d) ;
  //! Creates a point on two curves on surfaces, without tangents. <br>
  Standard_EXPORT     void SetValue(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2,const Standard_Real PC1,const Standard_Real PC2) ;
  //! Creates a point on two curves. <br>
  Standard_EXPORT     void SetValue(const gp_Pnt& Pt1,const gp_Pnt& Pt2,const Standard_Real Param,const Standard_Real PC1,const Standard_Real PC2) ;
  
        Standard_Real Parameter() const;
  //! Returns Standard_True if it was not possible to compute <br>
//!          the tangent vectors at PointOnS1 and/or PointOnS2. <br>
        Standard_Boolean IsTangencyPoint() const;
  
       const gp_Pnt& PointOnS1() const;
  
       const gp_Pnt& PointOnS2() const;
  
        void ParametersOnS1(Standard_Real& U,Standard_Real& V) const;
  
        void ParametersOnS2(Standard_Real& U,Standard_Real& V) const;
  
       const gp_Vec& TangentOnS1() const;
  
       const gp_Vec& TangentOnS2() const;
  
        gp_Vec2d Tangent2dOnS1() const;
  
        gp_Vec2d Tangent2dOnS2() const;
  
       const gp_Pnt& PointOnS() const;
  
       const gp_Pnt& PointOnC() const;
  
        void ParametersOnS(Standard_Real& U,Standard_Real& V) const;
  
        Standard_Real ParameterOnC() const;
  
       const gp_Vec& TangentOnS() const;
  
       const gp_Vec& TangentOnC() const;
  
        gp_Vec2d Tangent2d() const;
  
       const gp_Pnt& PointOnC1() const;
  
       const gp_Pnt& PointOnC2() const;
  
        Standard_Real ParameterOnC1() const;
  
        Standard_Real ParameterOnC2() const;
  
       const gp_Vec& TangentOnC1() const;
  
       const gp_Vec& TangentOnC2() const;





protected:





private:



gp_Pnt pt1;
gp_Pnt pt2;
gp_Vec tg1;
gp_Vec tg2;
Standard_Real prm;
Standard_Real u1;
Standard_Real v1;
Standard_Real u2;
Standard_Real v2;
Standard_Real pc1;
Standard_Real pc2;
Standard_Real utg12d;
Standard_Real vtg12d;
Standard_Real utg22d;
Standard_Real vtg22d;
Standard_Boolean hass1;
Standard_Boolean hass2;
Standard_Boolean hasc1;
Standard_Boolean hasc2;
Standard_Boolean istgt;


};


#include <Blend_Point.lxx>



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


#endif