summaryrefslogtreecommitdiff
path: root/inc/BRep_PointRepresentation.hxx
blob: 02fc665fb997aba93d02aca206ca9031aa0c539c (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
// 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 _BRep_PointRepresentation_HeaderFile
#define _BRep_PointRepresentation_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_BRep_PointRepresentation_HeaderFile
#include <Handle_BRep_PointRepresentation.hxx>
#endif

#ifndef _TopLoc_Location_HeaderFile
#include <TopLoc_Location.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Geom_Curve_HeaderFile
#include <Handle_Geom_Curve.hxx>
#endif
#ifndef _Handle_Geom2d_Curve_HeaderFile
#include <Handle_Geom2d_Curve.hxx>
#endif
#ifndef _Handle_Geom_Surface_HeaderFile
#include <Handle_Geom_Surface.hxx>
#endif
class Standard_DomainError;
class TopLoc_Location;
class Geom_Curve;
class Geom2d_Curve;
class Geom_Surface;


//! Root  class     for   the points  representations. <br>
//!          Contains a location and a parameter. <br>
class BRep_PointRepresentation : public MMgt_TShared {

public:

  //! A point on a 3d curve. <br>
  Standard_EXPORT   virtual  Standard_Boolean IsPointOnCurve() const;
  //! A point on a 2d curve on a surface. <br>
  Standard_EXPORT   virtual  Standard_Boolean IsPointOnCurveOnSurface() const;
  //! A point on a surface. <br>
  Standard_EXPORT   virtual  Standard_Boolean IsPointOnSurface() const;
  //! A point on the curve <C>. <br>
  Standard_EXPORT   virtual  Standard_Boolean IsPointOnCurve(const Handle(Geom_Curve)& C,const TopLoc_Location& L) const;
  //! A point on the 2d curve <PC> on the surface <S>. <br>
  Standard_EXPORT   virtual  Standard_Boolean IsPointOnCurveOnSurface(const Handle(Geom2d_Curve)& PC,const Handle(Geom_Surface)& S,const TopLoc_Location& L) const;
  //! A point on the surface <S>. <br>
  Standard_EXPORT   virtual  Standard_Boolean IsPointOnSurface(const Handle(Geom_Surface)& S,const TopLoc_Location& L) const;
  
       const TopLoc_Location& Location() const;
  
        void Location(const TopLoc_Location& L) ;
  
        Standard_Real Parameter() const;
  
        void Parameter(const Standard_Real P) ;
  
  Standard_EXPORT   virtual  Standard_Real Parameter2() const;
  
  Standard_EXPORT   virtual  void Parameter2(const Standard_Real P) ;
  
  Standard_EXPORT   virtual const Handle_Geom_Curve& Curve() const;
  
  Standard_EXPORT   virtual  void Curve(const Handle(Geom_Curve)& C) ;
  
  Standard_EXPORT   virtual const Handle_Geom2d_Curve& PCurve() const;
  
  Standard_EXPORT   virtual  void PCurve(const Handle(Geom2d_Curve)& C) ;
  
  Standard_EXPORT   virtual const Handle_Geom_Surface& Surface() const;
  
  Standard_EXPORT   virtual  void Surface(const Handle(Geom_Surface)& S) ;




  DEFINE_STANDARD_RTTI(BRep_PointRepresentation)

protected:

  
  Standard_EXPORT   BRep_PointRepresentation(const Standard_Real P,const TopLoc_Location& L);



private: 


TopLoc_Location myLocation;
Standard_Real myParameter;


};


#include <BRep_PointRepresentation.lxx>



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


#endif