summaryrefslogtreecommitdiff
path: root/inc/Extrema_LCCacheOfLocateExtCC.hxx
blob: 952de8002735b6a8884dac87bc7dec80fed724d4 (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
// 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_LCCacheOfLocateExtCC_HeaderFile
#define _Extrema_LCCacheOfLocateExtCC_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Extrema_LCCacheOfLocateExtCC_HeaderFile
#include <Handle_Extrema_LCCacheOfLocateExtCC.hxx>
#endif

#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_TColgp_HArray1OfPnt_HeaderFile
#include <Handle_TColgp_HArray1OfPnt.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Transient_HeaderFile
#include <Standard_Transient.hxx>
#endif
class TColgp_HArray1OfPnt;
class StdFail_NotDone;
class Adaptor3d_Curve;
class gp_Pnt;



class Extrema_LCCacheOfLocateExtCC : public Standard_Transient {

public:

  
  Standard_EXPORT   Extrema_LCCacheOfLocateExtCC();
  
  Standard_EXPORT   Extrema_LCCacheOfLocateExtCC(const Adaptor3d_Curve& theC,const Standard_Real theUFirst,const Standard_Real theULast,const Standard_Integer theNbSamples,const Standard_Boolean theToCalculate);
  
  Standard_EXPORT     void SetCurve(const Adaptor3d_Curve& theC,const Standard_Integer theNbSamples,const Standard_Boolean theToCalculate) ;
  
  Standard_EXPORT     void SetCurve(const Adaptor3d_Curve& theC,const Standard_Real theUFirst,const Standard_Real theULast,const Standard_Integer theNbSamples,const Standard_Boolean theToCalculate) ;
  
  Standard_EXPORT     void SetRange(const Standard_Real Uinf,const Standard_Real Usup,const Standard_Boolean theToCalculate) ;
  
  Standard_EXPORT     void CalculatePoints() ;
  
        Standard_Boolean IsValid() const;
  
       const Handle_TColgp_HArray1OfPnt& Points() const;
  
        Standard_Address CurvePtr() const;
  
        Standard_Integer NbSamples() const;
  
        Standard_Real FirstParameter() const;
  
        Standard_Real LastParameter() const;
  
        Standard_Real TrimFirstParameter() const;
  
        Standard_Real TrimLastParameter() const;




  DEFINE_STANDARD_RTTI(Extrema_LCCacheOfLocateExtCC)

protected:




private: 


Standard_Address myC;
Standard_Real myFirst;
Standard_Real myLast;
Standard_Real myTrimFirst;
Standard_Real myTrimLast;
Standard_Integer myNbSamples;
Handle_TColgp_HArray1OfPnt myPntArray;
Standard_Boolean myIsArrayValid;


};

#define Curve Adaptor3d_Curve
#define Curve_hxx <Adaptor3d_Curve.hxx>
#define Pnt gp_Pnt
#define Pnt_hxx <gp_Pnt.hxx>
#define Handle_ArrayOfPnt Handle_TColgp_HArray1OfPnt
#define ArrayOfPnt TColgp_HArray1OfPnt
#define ArrayOfPnt_hxx <TColgp_HArray1OfPnt.hxx>
#define Extrema_CurveCache Extrema_LCCacheOfLocateExtCC
#define Extrema_CurveCache_hxx <Extrema_LCCacheOfLocateExtCC.hxx>
#define Handle_Extrema_CurveCache Handle_Extrema_LCCacheOfLocateExtCC
#define Extrema_CurveCache_Type_() Extrema_LCCacheOfLocateExtCC_Type_()

#include <Extrema_CurveCache.lxx>

#undef Curve
#undef Curve_hxx
#undef Pnt
#undef Pnt_hxx
#undef Handle_ArrayOfPnt
#undef ArrayOfPnt
#undef ArrayOfPnt_hxx
#undef Extrema_CurveCache
#undef Extrema_CurveCache_hxx
#undef Handle_Extrema_CurveCache
#undef Extrema_CurveCache_Type_


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


#endif