0028966: Coding Rules - remove Adaptor2d_HCurve2d, Adaptor3d_HCurve and Adaptor3d_HSu...
[occt.git] / src / IntPatch / IntPatch_ThePathPointOfTheSOnBounds.hxx
1 // Created on: 1992-05-06
2 // Created by: Jacques GOUSSARD
3 // Copyright (c) 1992-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _IntPatch_ThePathPointOfTheSOnBounds_HeaderFile
18 #define _IntPatch_ThePathPointOfTheSOnBounds_HeaderFile
19
20 #include <Adaptor2d_Curve2d.hxx>
21 #include <gp_Pnt.hxx>
22
23 class Adaptor3d_HVertex;
24 class Standard_DomainError;
25 class gp_Pnt;
26
27 class IntPatch_ThePathPointOfTheSOnBounds 
28 {
29 public:
30
31   DEFINE_STANDARD_ALLOC
32
33   
34   Standard_EXPORT IntPatch_ThePathPointOfTheSOnBounds();
35   
36   Standard_EXPORT IntPatch_ThePathPointOfTheSOnBounds(const gp_Pnt& P, const Standard_Real Tol, const Handle(Adaptor3d_HVertex)& V, const Handle(Adaptor2d_Curve2d)& A, const Standard_Real Parameter);
37   
38   Standard_EXPORT IntPatch_ThePathPointOfTheSOnBounds(const gp_Pnt& P, const Standard_Real Tol, const Handle(Adaptor2d_Curve2d)& A, const Standard_Real Parameter);
39   
40     void SetValue (const gp_Pnt& P, const Standard_Real Tol, const Handle(Adaptor3d_HVertex)& V, const Handle(Adaptor2d_Curve2d)& A, const Standard_Real Parameter);
41   
42     void SetValue (const gp_Pnt& P, const Standard_Real Tol, const Handle(Adaptor2d_Curve2d)& A, const Standard_Real Parameter);
43   
44     const gp_Pnt& Value() const;
45   
46     Standard_Real Tolerance() const;
47   
48     Standard_Boolean IsNew() const;
49   
50     const Handle(Adaptor3d_HVertex)& Vertex() const;
51   
52     const Handle(Adaptor2d_Curve2d)& Arc() const;
53   
54     Standard_Real Parameter() const;
55
56
57
58
59 protected:
60
61
62
63
64
65 private:
66
67
68
69   gp_Pnt point;
70   Standard_Real tol;
71   Standard_Boolean isnew;
72   Handle(Adaptor3d_HVertex) vtx;
73   Handle(Adaptor2d_Curve2d) arc;
74   Standard_Real param;
75
76
77 };
78
79 #define TheVertex Handle(Adaptor3d_HVertex)
80 #define TheVertex_hxx <Adaptor3d_HVertex.hxx>
81 #define TheArc Handle(Adaptor2d_Curve2d)
82 #define TheArc_hxx <Adaptor2d_Curve2d.hxx>
83 #define IntStart_PathPoint IntPatch_ThePathPointOfTheSOnBounds
84 #define IntStart_PathPoint_hxx <IntPatch_ThePathPointOfTheSOnBounds.hxx>
85
86 #include <IntStart_PathPoint.lxx>
87
88 #undef TheVertex
89 #undef TheVertex_hxx
90 #undef TheArc
91 #undef TheArc_hxx
92 #undef IntStart_PathPoint
93 #undef IntStart_PathPoint_hxx
94
95
96
97
98 #endif // _IntPatch_ThePathPointOfTheSOnBounds_HeaderFile