-- File: CurveTool.cdl -- Created: Thu Mar 26 13:35:47 1992 -- Author: Herve LEGRAND -- ---Copyright: Matra Datavision 1992 private class CurveTool from GeomLProp uses Vec from gp, Pnt from gp, Dir from gp, Curve from Geom is Value(myclass; C : Curve from Geom; U : Real; P : out Pnt); ---Purpose: Computes the point

of parameter on the curve . D1 (myclass; C : Curve from Geom; U : Real; P : out Pnt; V1 : out Vec); ---Purpose: Computes the point

and first derivative of -- parameter on the curve . D2 (myclass; C : Curve from Geom; U : Real; P : out Pnt; V1, V2 : out Vec); ---Purpose: Computes the point

, the first derivative and second -- derivative of parameter on the curve . D3 (myclass; C : Curve from Geom; U : Real; P : out Pnt; V1, V2, V3 : out Vec); ---Purpose: Computes the point

, the first derivative , the -- second derivative and third derivative of -- parameter on the curve . Continuity(myclass; C : Curve from Geom) 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 Geom) returns Real; ---Purpose: returns the first parameter bound of the curve. -- LastParameter(myclass; C : Curve from Geom) returns Real; ---Purpose: returns the last parameter bound of the curve. -- FirstParameter must be less than LastParamenter. end CurveTool;