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
|
// 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 _IntPolyh_Point_HeaderFile
#define _IntPolyh_Point_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_Adaptor3d_HSurface_HeaderFile
#include <Handle_Adaptor3d_HSurface.hxx>
#endif
class Adaptor3d_HSurface;
class IntPolyh_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 IntPolyh_Point();
Standard_EXPORT IntPolyh_Point(const Standard_Real xx,const Standard_Real yy,const Standard_Real zz,const Standard_Real uu,const Standard_Real vv);
Standard_EXPORT Standard_Real X() const;
Standard_EXPORT Standard_Real Y() const;
Standard_EXPORT Standard_Real Z() const;
Standard_EXPORT Standard_Real U() const;
Standard_EXPORT Standard_Real V() const;
Standard_EXPORT Standard_Integer PartOfCommon() const;
Standard_EXPORT void Equal(const IntPolyh_Point& Pt) ;
void operator =(const IntPolyh_Point& Pt)
{
Equal(Pt);
}
Standard_EXPORT void Set(const Standard_Real v1,const Standard_Real v2,const Standard_Real v3,const Standard_Real v4,const Standard_Real v5,const Standard_Integer II = 1) ;
Standard_EXPORT void SetX(const Standard_Real v) ;
Standard_EXPORT void SetY(const Standard_Real v) ;
Standard_EXPORT void SetZ(const Standard_Real v) ;
Standard_EXPORT void SetU(const Standard_Real v) ;
Standard_EXPORT void SetV(const Standard_Real v) ;
Standard_EXPORT void SetPartOfCommon(const Standard_Integer ii) ;
Standard_EXPORT void Middle(const Handle(Adaptor3d_HSurface)& MySurface,const IntPolyh_Point& P1,const IntPolyh_Point& P2) ;
Standard_EXPORT IntPolyh_Point Add(const IntPolyh_Point& P1) const;
IntPolyh_Point operator +(const IntPolyh_Point& P1) const
{
return Add(P1);
}
Standard_EXPORT IntPolyh_Point Sub(const IntPolyh_Point& P1) const;
IntPolyh_Point operator -(const IntPolyh_Point& P1) const
{
return Sub(P1);
}
Standard_EXPORT IntPolyh_Point Divide(const Standard_Real rr) const;
IntPolyh_Point operator /(const Standard_Real rr) const
{
return Divide(rr);
}
Standard_EXPORT IntPolyh_Point Multiplication(const Standard_Real rr) const;
IntPolyh_Point operator *(const Standard_Real rr) const
{
return Multiplication(rr);
}
Standard_EXPORT Standard_Real SquareModulus() const;
Standard_EXPORT Standard_Real SquareDistance(const IntPolyh_Point& P2) const;
Standard_EXPORT Standard_Real Dot(const IntPolyh_Point& P2) const;
Standard_EXPORT void Cross(const IntPolyh_Point& P1,const IntPolyh_Point& P2) ;
Standard_EXPORT void Dump() const;
Standard_EXPORT void Dump(const Standard_Integer i) const;
protected:
private:
Standard_Real x;
Standard_Real y;
Standard_Real z;
Standard_Real u;
Standard_Real v;
Standard_Integer POC;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|