1 // Created on: 1992-08-18
2 // Created by: Herve LEGRAND
3 // Copyright (c) 1992-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #include <HLRBRep_Surface.hxx>
18 #include <GeomAbs_Shape.hxx>
21 //=======================================================================
24 //=======================================================================
26 inline void HLRBRep_SLPropsATool::Value
27 (const Standard_Address A,
28 const Standard_Real U,
29 const Standard_Real V,
31 { P = ((HLRBRep_Surface*)A)->Value(U, V); }
33 //=======================================================================
36 //=======================================================================
38 inline void HLRBRep_SLPropsATool::D1
39 (const Standard_Address A,
40 const Standard_Real U,
41 const Standard_Real V,
45 { ((HLRBRep_Surface*)A)->D1(U, V, P, D1U, D1V); }
47 //=======================================================================
50 //=======================================================================
52 inline void HLRBRep_SLPropsATool::D2
53 (const Standard_Address A,
54 const Standard_Real U,
55 const Standard_Real V,
62 { ((HLRBRep_Surface*)A)->D2(U, V, P, D1U, D1V, D2U, D2V, DUV); }
64 //=======================================================================
67 //=======================================================================
69 inline gp_Vec HLRBRep_SLPropsATool::DN
70 (const Standard_Address A,
71 const Standard_Real U,
72 const Standard_Real V,
73 const Standard_Integer Nu,
74 const Standard_Integer Nv)
75 { return ((HLRBRep_Surface*)A)->DN(U, V, Nu, Nv); }
77 //=======================================================================
78 //function : Continuity
80 //=======================================================================
82 inline Standard_Integer HLRBRep_SLPropsATool::Continuity
83 (const Standard_Address)
84 { return 2; } // et boum ! cky le 27 - 04 - 1993
86 //=======================================================================
89 //=======================================================================
91 inline void HLRBRep_SLPropsATool::Bounds
92 (const Standard_Address,
98 U1 = V1 = RealFirst();