-- File: Curve2dTool.cdl -- Created: Thu Mar 26 13:38:57 1992 -- Author: Herve LEGRAND -- ---Copyright: Matra Datavision 1992 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;