summaryrefslogtreecommitdiff
path: root/inc/PBRep_CurveOnSurface.hxx
blob: 45198e00da484d414f84ced2104999d10254af58 (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
// 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 _PBRep_CurveOnSurface_HeaderFile
#define _PBRep_CurveOnSurface_HeaderFile

#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_PBRep_CurveOnSurface_HeaderFile
#include <Handle_PBRep_CurveOnSurface.hxx>
#endif

#ifndef _Handle_PGeom_Surface_HeaderFile
#include <Handle_PGeom_Surface.hxx>
#endif
#ifndef _Handle_PGeom2d_Curve_HeaderFile
#include <Handle_PGeom2d_Curve.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _gp_Pnt2d_HeaderFile
#include <gp_Pnt2d.hxx>
#endif
#ifndef _PBRep_GCurve_HeaderFile
#include <PBRep_GCurve.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
class PGeom_Surface;
class PGeom2d_Curve;
class PTopLoc_Location;
class gp_Pnt2d;


class PBRep_CurveOnSurface : public PBRep_GCurve {

public:

  //! CF is curve first parameter <br>
//!          CL is curve last parameter <br>
//!          As far as they can't be computed from a Persistent Curve <br>
//!          they are given in the CurveOnSurface constructor <br>
  Standard_EXPORT   PBRep_CurveOnSurface(const Handle(PGeom2d_Curve)& PC,const Standard_Real CF,const Standard_Real CL,const Handle(PGeom_Surface)& S,const PTopLoc_Location& L);
  
  Standard_EXPORT     Handle_PGeom_Surface Surface() const;
  
  Standard_EXPORT     Handle_PGeom2d_Curve PCurve() const;
  //! Returns True. <br>
  Standard_EXPORT   virtual  Standard_Boolean IsCurveOnSurface() const;
  
  Standard_EXPORT     void SetUVPoints(const gp_Pnt2d& Pnt1,const gp_Pnt2d& Pnt2) ;
  
  Standard_EXPORT     gp_Pnt2d FirstUV() const;
  
  Standard_EXPORT     gp_Pnt2d LastUV() const;

  PBRep_CurveOnSurface( )
{
  
}
PBRep_CurveOnSurface(const Storage_stCONSTclCOM& a) : PBRep_GCurve(a)
{
  
}
    Handle(PGeom2d_Curve) _CSFDB_GetPBRep_CurveOnSurfacemyPCurve() const { return myPCurve; }
    void _CSFDB_SetPBRep_CurveOnSurfacemyPCurve(const Handle(PGeom2d_Curve)& p) { myPCurve = p; }
    Handle(PGeom_Surface) _CSFDB_GetPBRep_CurveOnSurfacemySurface() const { return mySurface; }
    void _CSFDB_SetPBRep_CurveOnSurfacemySurface(const Handle(PGeom_Surface)& p) { mySurface = p; }
    const gp_Pnt2d& _CSFDB_GetPBRep_CurveOnSurfacemyUV1() const { return myUV1; }
    const gp_Pnt2d& _CSFDB_GetPBRep_CurveOnSurfacemyUV2() const { return myUV2; }



  DEFINE_STANDARD_RTTI(PBRep_CurveOnSurface)

protected:




private: 


Handle_PGeom2d_Curve myPCurve;
Handle_PGeom_Surface mySurface;
gp_Pnt2d myUV1;
gp_Pnt2d myUV2;


};





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


#endif