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
|
// 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 _Extrema_ExtCC2d_HeaderFile
#define _Extrema_ExtCC2d_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Extrema_SequenceOfPOnCurv2d_HeaderFile
#include <Extrema_SequenceOfPOnCurv2d.hxx>
#endif
#ifndef _TColStd_SequenceOfReal_HeaderFile
#include <TColStd_SequenceOfReal.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _gp_Pnt2d_HeaderFile
#include <gp_Pnt2d.hxx>
#endif
#ifndef _Handle_Extrema_CCache2dOfExtCC2d_HeaderFile
#include <Handle_Extrema_CCache2dOfExtCC2d.hxx>
#endif
class StdFail_InfiniteSolutions;
class StdFail_NotDone;
class Standard_OutOfRange;
class Adaptor2d_Curve2d;
class Extrema_Curve2dTool;
class Extrema_CCache2dOfExtCC2d;
class Extrema_ECC2dOfExtCC2d;
class Extrema_CCFOfECC2dOfExtCC2d;
class Extrema_POnCurv2d;
class gp_Pnt2d;
class Extrema_ExtElC2d;
class Extrema_ExtCC2d {
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 Extrema_ExtCC2d();
Standard_EXPORT Extrema_ExtCC2d(const Adaptor2d_Curve2d& C1,const Adaptor2d_Curve2d& C2,const Standard_Real TolC1 = 1.0e-10,const Standard_Real TolC2 = 1.0e-10);
Standard_EXPORT Extrema_ExtCC2d(const Adaptor2d_Curve2d& C1,const Adaptor2d_Curve2d& C2,const Standard_Real U1,const Standard_Real U2,const Standard_Real V1,const Standard_Real V2,const Standard_Real TolC1 = 1.0e-10,const Standard_Real TolC2 = 1.0e-10);
Standard_EXPORT void Initialize(const Adaptor2d_Curve2d& C2,const Standard_Real V1,const Standard_Real V2,const Standard_Real TolC1 = 1.0e-10,const Standard_Real TolC2 = 1.0e-10) ;
Standard_EXPORT void Perform(const Adaptor2d_Curve2d& C1,const Standard_Real U1,const Standard_Real U2) ;
Standard_EXPORT Standard_Boolean IsDone() const;
Standard_EXPORT Standard_Integer NbExt() const;
Standard_EXPORT Standard_Boolean IsParallel() const;
Standard_EXPORT Standard_Real SquareDistance(const Standard_Integer N = 1) const;
Standard_EXPORT void Points(const Standard_Integer N,Extrema_POnCurv2d& P1,Extrema_POnCurv2d& P2) const;
Standard_EXPORT void TrimmedSquareDistances(Standard_Real& dist11,Standard_Real& distP12,Standard_Real& distP21,Standard_Real& distP22,gp_Pnt2d& P11,gp_Pnt2d& P12,gp_Pnt2d& P21,gp_Pnt2d& P22) const;
protected:
Standard_EXPORT void Results(const Extrema_ExtElC2d& AlgExt,const Standard_Real Ut11,const Standard_Real Ut12,const Standard_Real Ut21,const Standard_Real Ut22,const Standard_Real Period1 = 0.0,const Standard_Real Period2 = 0.0) ;
Standard_EXPORT void Results(const Extrema_ECC2dOfExtCC2d& AlgExt,const Adaptor2d_Curve2d& C,const Standard_Real Ut11,const Standard_Real Ut12,const Standard_Real Ut21,const Standard_Real Ut22,const Standard_Real Period1 = 0.0,const Standard_Real Period2 = 0.0) ;
private:
Standard_Boolean myDone;
Standard_Boolean myIsPar;
Extrema_SequenceOfPOnCurv2d mypoints;
TColStd_SequenceOfReal mySqDist;
Standard_Integer mynbext;
Standard_Boolean inverse;
Standard_Address myC;
Standard_Real myu1;
Standard_Real myu2;
Standard_Real myv1;
Standard_Real myv2;
Standard_Real mytolc1;
Standard_Real mytolc2;
gp_Pnt2d P1f;
gp_Pnt2d P1l;
gp_Pnt2d P2f;
gp_Pnt2d P2l;
Standard_Real mydist11;
Standard_Real mydist12;
Standard_Real mydist21;
Standard_Real mydist22;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|