summaryrefslogtreecommitdiff
path: root/inc/PBRep_CurveOnClosedSurface.hxx
blob: 9eb6d3e910f0f04645d39fbbef01c71519752475 (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
// 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_CurveOnClosedSurface_HeaderFile
#define _PBRep_CurveOnClosedSurface_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_CurveOnClosedSurface_HeaderFile
#include <Handle_PBRep_CurveOnClosedSurface.hxx>
#endif

#ifndef _Handle_PGeom2d_Curve_HeaderFile
#include <Handle_PGeom2d_Curve.hxx>
#endif
#ifndef _GeomAbs_Shape_HeaderFile
#include <GeomAbs_Shape.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _gp_Pnt2d_HeaderFile
#include <gp_Pnt2d.hxx>
#endif
#ifndef _PBRep_CurveOnSurface_HeaderFile
#include <PBRep_CurveOnSurface.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Handle_PGeom_Surface_HeaderFile
#include <Handle_PGeom_Surface.hxx>
#endif
class PGeom2d_Curve;
class PGeom_Surface;
class PTopLoc_Location;
class gp_Pnt2d;


class PBRep_CurveOnClosedSurface : public PBRep_CurveOnSurface {

public:

  //! CF is curve first parameter <br>
//!          CL is curve last parameter <br>
//!          The two curves are SameParameter. <br>
//!          As far as they can't be computed from a Persistent Curve <br>
//!          they are given in the CurveOnClosedSurface constructor <br>
  Standard_EXPORT   PBRep_CurveOnClosedSurface(const Handle(PGeom2d_Curve)& PC1,const Handle(PGeom2d_Curve)& PC2,const Standard_Real CF,const Standard_Real CL,const Handle(PGeom_Surface)& S,const PTopLoc_Location& L,const GeomAbs_Shape C);
  
  Standard_EXPORT     Handle_PGeom2d_Curve PCurve2() const;
  
  Standard_EXPORT     GeomAbs_Shape Continuity() const;
  //! Returns True. <br>
  Standard_EXPORT   virtual  Standard_Boolean IsCurveOnClosedSurface() const;
  //! Returns True <br>
  Standard_EXPORT   virtual  Standard_Boolean IsRegularity() const;
  
  Standard_EXPORT     void SetUVPoints2(const gp_Pnt2d& Pnt1,const gp_Pnt2d& Pnt2) ;
  
  Standard_EXPORT     gp_Pnt2d FirstUV2() const;
  
  Standard_EXPORT     gp_Pnt2d LastUV2() const;

  PBRep_CurveOnClosedSurface( )
{
  
}
PBRep_CurveOnClosedSurface(const Storage_stCONSTclCOM& a) : PBRep_CurveOnSurface(a)
{
  
}
    Handle(PGeom2d_Curve) _CSFDB_GetPBRep_CurveOnClosedSurfacemyPCurve2() const { return myPCurve2; }
    void _CSFDB_SetPBRep_CurveOnClosedSurfacemyPCurve2(const Handle(PGeom2d_Curve)& p) { myPCurve2 = p; }
    GeomAbs_Shape _CSFDB_GetPBRep_CurveOnClosedSurfacemyContinuity() const { return myContinuity; }
    void _CSFDB_SetPBRep_CurveOnClosedSurfacemyContinuity(const GeomAbs_Shape p) { myContinuity = p; }
    const gp_Pnt2d& _CSFDB_GetPBRep_CurveOnClosedSurfacemyUV21() const { return myUV21; }
    const gp_Pnt2d& _CSFDB_GetPBRep_CurveOnClosedSurfacemyUV22() const { return myUV22; }



  DEFINE_STANDARD_RTTI(PBRep_CurveOnClosedSurface)

protected:




private: 


Handle_PGeom2d_Curve myPCurve2;
GeomAbs_Shape myContinuity;
gp_Pnt2d myUV21;
gp_Pnt2d myUV22;


};





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


#endif