1 // Created on: 2002-08-02
2 // Created by: Alexander KARTOMIN (akm)
3 // Copyright (c) 2002-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _LProp3d_SurfaceTool_HeaderFile
17 #define _LProp3d_SurfaceTool_HeaderFile
19 #include <Adaptor3d_Surface.hxx>
21 class LProp3d_SurfaceTool
28 //! Computes the point <P> of parameter <U> and <V> on the
30 Standard_EXPORT static void Value (const Handle(Adaptor3d_Surface)& S, const Standard_Real U, const Standard_Real V, gp_Pnt& P);
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);
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);
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);
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);
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);
73 #endif // _LProp3d_SurfaceTool_HeaderFile