summaryrefslogtreecommitdiff
path: root/inc/ShapeFix_EdgeProjAux.hxx
blob: a7da952aaecdd486ac684695dd26412dec0896c8 (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
// 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 _ShapeFix_EdgeProjAux_HeaderFile
#define _ShapeFix_EdgeProjAux_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_ShapeFix_EdgeProjAux_HeaderFile
#include <Handle_ShapeFix_EdgeProjAux.hxx>
#endif

#ifndef _TopoDS_Face_HeaderFile
#include <TopoDS_Face.hxx>
#endif
#ifndef _TopoDS_Edge_HeaderFile
#include <TopoDS_Edge.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_Geom2d_Curve_HeaderFile
#include <Handle_Geom2d_Curve.hxx>
#endif
class TopoDS_Face;
class TopoDS_Edge;
class Geom2d_Curve;


//! Project 3D point (vertex) on pcurves to find Vertex Parameter <br>
//!          on parametric representation of an edge <br>
class ShapeFix_EdgeProjAux : public MMgt_TShared {

public:

  
  Standard_EXPORT   ShapeFix_EdgeProjAux();
  
  Standard_EXPORT   ShapeFix_EdgeProjAux(const TopoDS_Face& F,const TopoDS_Edge& E);
  
  Standard_EXPORT     void Init(const TopoDS_Face& F,const TopoDS_Edge& E) ;
  
  Standard_EXPORT     void Compute(const Standard_Real preci) ;
  
  Standard_EXPORT     Standard_Boolean IsFirstDone() const;
  
  Standard_EXPORT     Standard_Boolean IsLastDone() const;
  
  Standard_EXPORT     Standard_Real FirstParam() const;
  
  Standard_EXPORT     Standard_Real LastParam() const;
  
  Standard_EXPORT     Standard_Boolean IsIso(const Handle(Geom2d_Curve)& C) ;




  DEFINE_STANDARD_RTTI(ShapeFix_EdgeProjAux)

protected:

  
  Standard_EXPORT     void Init2d(const Standard_Real preci) ;
  
  Standard_EXPORT     void Init3d(const Standard_Real preci) ;
  
  Standard_EXPORT     void UpdateParam2d(const Handle(Geom2d_Curve)& C) ;

TopoDS_Face myFace;
TopoDS_Edge myEdge;
Standard_Real myFirstParam;
Standard_Real myLastParam;
Standard_Boolean myFirstDone;
Standard_Boolean myLastDone;


private: 




};





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


#endif