Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:13

0001 // Created on: 2002-08-02
0002 // Created by: Alexander KARTOMIN  (akm)
0003 // Copyright (c) 2002-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _LProp3d_SurfaceTool_HeaderFile
0017 #define _LProp3d_SurfaceTool_HeaderFile
0018 
0019 #include <Adaptor3d_Surface.hxx>
0020 
0021 class LProp3d_SurfaceTool 
0022 {
0023 public:
0024 
0025   DEFINE_STANDARD_ALLOC
0026 
0027   
0028   //! Computes the point <P> of parameter <U> and <V> on the
0029   //! HSurface <S>.
0030   Standard_EXPORT static void Value (const Handle(Adaptor3d_Surface)& S, const Standard_Real U, const Standard_Real V, gp_Pnt& P);
0031   
0032   //! Computes the point <P> and first derivative <D1*> of
0033   //! parameter <U> and <V> on the HSurface <S>.
0034   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);
0035   
0036   //! Computes the point <P>, the first derivative <D1*> and second
0037   //! derivative <D2*> of parameter <U> and <V> on the HSurface <S>.
0038   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);
0039   
0040   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);
0041   
0042   //! returns the order of continuity of the HSurface <S>.
0043   //! returns 1 : first derivative only is computable
0044   //! returns 2 : first and second derivative only are computable.
0045   Standard_EXPORT static Standard_Integer Continuity (const Handle(Adaptor3d_Surface)& S);
0046   
0047   //! returns the bounds of the HSurface.
0048   Standard_EXPORT static void Bounds (const Handle(Adaptor3d_Surface)& S, Standard_Real& U1, Standard_Real& V1, Standard_Real& U2, Standard_Real& V2);
0049 
0050 
0051 
0052 
0053 protected:
0054 
0055 
0056 
0057 
0058 
0059 private:
0060 
0061 
0062 
0063 
0064 
0065 };
0066 
0067 
0068 
0069 
0070 
0071 
0072 
0073 #endif // _LProp3d_SurfaceTool_HeaderFile