-- Created on: 1992-03-26
-- Created by: Herve LEGRAND
-- Copyright (c) 1992-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
class Curve2dTool from Geom2dLProp
uses Vec2d from gp,
Pnt2d from gp,
Dir2d from gp,
Curve from Geom2d
is
Value(myclass; C : Curve from Geom2d; U : Real;
P : out Pnt2d);
---Purpose: Computes the point
of parameter on the curve .
D1 (myclass; C : Curve from Geom2d; U : Real;
P : out Pnt2d; V1 : out Vec2d);
---Purpose: Computes the point and first derivative of
-- parameter on the curve .
D2 (myclass; C : Curve from Geom2d; U : Real;
P : out Pnt2d; V1, V2 : out Vec2d);
---Purpose: Computes the point , the first derivative and second
-- derivative of parameter on the curve .
D3 (myclass; C : Curve from Geom2d; U : Real;
P : out Pnt2d; V1, V2, V3 : out Vec2d);
---Purpose: Computes the point , the first derivative , the
-- second derivative and third derivative of
-- parameter on the curve .
Continuity(myclass; C : Curve from Geom2d) returns Integer;
---Purpose: returns the order of continuity of the curve .
-- returns 1 : first derivative only is computable
-- returns 2 : first and second derivative only are computable.
-- returns 3 : first, second and third are computable.
FirstParameter(myclass; C : Curve from Geom2d) returns Real;
---Purpose: returns the first parameter bound of the curve.
--
LastParameter(myclass; C : Curve from Geom2d) returns Real;
---Purpose: returns the last parameter bound of the curve.
-- FirstParameter must be less than LastParameter.
end Curve2dTool;