summaryrefslogtreecommitdiff
path: root/inc/IntSurf_PntOn2S.hxx
blob: 3c9541d00961aeeb830a7d49d9e02c78a0bcd003 (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
// 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 _IntSurf_PntOn2S_HeaderFile
#define _IntSurf_PntOn2S_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _gp_Pnt_HeaderFile
#include <gp_Pnt.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class gp_Pnt;


//! This class defines the geometric informations <br>
//!          for an intersection point between 2 surfaces : <br>
//!          The coordinates ( Pnt from gp ), and two <br>
//!          parametric coordinates. <br>
class IntSurf_PntOn2S  {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  //! Empty constructor. <br>
  Standard_EXPORT   IntSurf_PntOn2S();
  //! Sets the value of the point in 3d space. <br>
        void SetValue(const gp_Pnt& Pt) ;
  //! Sets the values of the point in 3d space, and <br>
//!          in the parametric space of one of the surface. <br>
  Standard_EXPORT     void SetValue(const gp_Pnt& Pt,const Standard_Boolean OnFirst,const Standard_Real U,const Standard_Real V) ;
  //! Sets the values of the point in 3d space, and <br>
//!          in the parametric space of each surface. <br>
        void SetValue(const gp_Pnt& Pt,const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2) ;
  //! Set the values of the point in the parametric <br>
//!          space of one of the surface. <br>
  Standard_EXPORT     void SetValue(const Standard_Boolean OnFirst,const Standard_Real U,const Standard_Real V) ;
  //! Set the values of the point in the parametric <br>
//!          space of one of the surface. <br>
        void SetValue(const Standard_Real U1,const Standard_Real V1,const Standard_Real U2,const Standard_Real V2) ;
  //! Returns the point in 3d space. <br>
       const gp_Pnt& Value() const;
  //! Returns the parameters of the point on the first surface. <br>
        void ParametersOnS1(Standard_Real& U1,Standard_Real& V1) const;
  //! Returns the parameters of the point on the second surface. <br>
        void ParametersOnS2(Standard_Real& U2,Standard_Real& V2) const;
  //! Returns the parameters of the point on both surfaces. <br>
        void Parameters(Standard_Real& U1,Standard_Real& V1,Standard_Real& U2,Standard_Real& V2) const;





protected:





private:



gp_Pnt pt;
Standard_Real u1;
Standard_Real v1;
Standard_Real u2;
Standard_Real v2;


};


#include <IntSurf_PntOn2S.lxx>



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


#endif