1 // Created on: 1994-02-24
2 // Created by: Laurent BOURESCHE
3 // Copyright (c) 1994-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.
18 #include <Adaptor3d_HCurve.hxx>
21 #include <LProp3d_CurveTool.hxx>
23 //=======================================================================
26 //=======================================================================
27 void LProp3d_CurveTool::Value(const Handle(Adaptor3d_HCurve)& C,
28 const Standard_Real U,
35 //=======================================================================
38 //=======================================================================
40 void LProp3d_CurveTool::D1(const Handle(Adaptor3d_HCurve)& C,
41 const Standard_Real U,
49 //=======================================================================
52 //=======================================================================
54 void LProp3d_CurveTool::D2(const Handle(Adaptor3d_HCurve)& C,
55 const Standard_Real U,
64 //=======================================================================
67 //=======================================================================
69 void LProp3d_CurveTool::D3(const Handle(Adaptor3d_HCurve)& C,
70 const Standard_Real U,
80 //=======================================================================
81 //function : Continuity
83 //=======================================================================
85 Standard_Integer LProp3d_CurveTool::Continuity
86 (const Handle(Adaptor3d_HCurve)& C)
88 GeomAbs_Shape s = C->Continuity();
109 //=======================================================================
110 //function : FirstParameter
112 //=======================================================================
114 Standard_Real LProp3d_CurveTool::FirstParameter
115 (const Handle(Adaptor3d_HCurve)& C)
117 return C->FirstParameter();
121 //=======================================================================
122 //function : LastParameter
124 //=======================================================================
126 Standard_Real LProp3d_CurveTool::LastParameter
127 (const Handle(Adaptor3d_HCurve)& C)
129 return C->LastParameter();