0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / LProp3d / LProp3d_SurfaceTool.hxx
1 // Created on: 2002-08-02
2 // Created by: Alexander KARTOMIN  (akm)
3 // Copyright (c) 2002-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _LProp3d_SurfaceTool_HeaderFile
17 #define _LProp3d_SurfaceTool_HeaderFile
18
19 #include <Adaptor3d_Surface.hxx>
20
21 class LProp3d_SurfaceTool 
22 {
23 public:
24
25   DEFINE_STANDARD_ALLOC
26
27   
28   //! Computes the point <P> of parameter <U> and <V> on the
29   //! HSurface <S>.
30   Standard_EXPORT static void Value (const Handle(Adaptor3d_Surface)& S, const Standard_Real U, const Standard_Real V, gp_Pnt& P);
31   
32   //! Computes the point <P> and first derivative <D1*> of
33   //! parameter <U> and <V> on the HSurface <S>.
34   Standard_EXPORT static void D1 (const Handle(Adaptor3d_Surface)& S, const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V);
35   
36   //! Computes the point <P>, the first derivative <D1*> and second
37   //! derivative <D2*> of parameter <U> and <V> on the HSurface <S>.
38   Standard_EXPORT static void D2 (const Handle(Adaptor3d_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);
39   
40   Standard_EXPORT static gp_Vec DN (const Handle(Adaptor3d_Surface)& S, const Standard_Real U, const Standard_Real V, const Standard_Integer IU, const Standard_Integer IV);
41   
42   //! returns the order of continuity of the HSurface <S>.
43   //! returns 1 : first derivative only is computable
44   //! returns 2 : first and second derivative only are computable.
45   Standard_EXPORT static Standard_Integer Continuity (const Handle(Adaptor3d_Surface)& S);
46   
47   //! returns the bounds of the HSurface.
48   Standard_EXPORT static void Bounds (const Handle(Adaptor3d_Surface)& S, Standard_Real& U1, Standard_Real& V1, Standard_Real& U2, Standard_Real& V2);
49
50
51
52
53 protected:
54
55
56
57
58
59 private:
60
61
62
63
64
65 };
66
67
68
69
70
71
72
73 #endif // _LProp3d_SurfaceTool_HeaderFile