summaryrefslogtreecommitdiff
path: root/inc/BRepLProp_SurfaceTool.hxx
blob: 27dfc5421dc936da4b35a050e8ed233d4939d8d2 (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
// 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 _BRepLProp_SurfaceTool_HeaderFile
#define _BRepLProp_SurfaceTool_HeaderFile

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

#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class BRepAdaptor_Surface;
class gp_Pnt;
class gp_Vec;



class BRepLProp_SurfaceTool  {
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); 
  }

  //! Computes the point <P> of parameter <U> and <V> on the <br>
//!          Surface <S>. <br>
  Standard_EXPORT   static  void Value(const BRepAdaptor_Surface& S,const Standard_Real U,const Standard_Real V,gp_Pnt& P) ;
  //! Computes the point <P> and first derivative <D1*> of <br>
//!          parameter <U> and <V> on the Surface <S>. <br>
  Standard_EXPORT   static  void D1(const BRepAdaptor_Surface& S,const Standard_Real U,const Standard_Real V,gp_Pnt& P,gp_Vec& D1U,gp_Vec& D1V) ;
  //! Computes the point <P>, the first derivative <D1*> and second <br>
//!          derivative <D2*> of parameter <U> and <V> on the Surface <S>. <br>
  Standard_EXPORT   static  void D2(const BRepAdaptor_Surface& S,const Standard_Real U,const Standard_Real V,gp_Pnt& P,gp_Vec& D1U,gp_Vec& D1V,gp_Vec& D2U,gp_Vec& D2V,gp_Vec& DUV) ;
  
  Standard_EXPORT   static  gp_Vec DN(const BRepAdaptor_Surface& S,const Standard_Real U,const Standard_Real V,const Standard_Integer IU,const Standard_Integer IV) ;
  //! returns the order of continuity of the Surface <S>. <br>
//!          returns 1 : first derivative only is computable <br>
//!          returns 2 : first and second derivative only are computable. <br>
  Standard_EXPORT   static  Standard_Integer Continuity(const BRepAdaptor_Surface& S) ;
  //! returns the bounds of the Surface. <br>
  Standard_EXPORT   static  void Bounds(const BRepAdaptor_Surface& S,Standard_Real& U1,Standard_Real& V1,Standard_Real& U2,Standard_Real& V2) ;





protected:





private:





};





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


#endif