Integration of OCCT 6.5.0 from SVN
[occt.git] / src / LProp3d / LProp3d_CurveTool.cdl
CommitLineData
7fd59977 1-- File: LProp3d_CurveTool.cdl
2-- Created: Fri Aug 2 17:14:29 2002
3-- Author: Alexander KARTOMIN (akm)
4-- <a-kartomin@opencascade.com>
5-- NB: This originates from BRepLProp being abstracted of BRep.
6---Copyright: Matra Datavision 2002
7
8class CurveTool from LProp3d
9
10uses Vec from gp,
11 Pnt from gp,
12 Dir from gp,
13 HCurve from Adaptor3d
14
15is
16
17 Value(myclass; C : HCurve from Adaptor3d; U : Real; P : out Pnt);
18 ---Purpose: Computes the point <P> of parameter <U> on the HCurve <C>.
19
20 D1 (myclass; C : HCurve from Adaptor3d;
21 U : Real; P : out Pnt; V1 : out Vec);
22 ---Purpose: Computes the point <P> and first derivative <V1> of
23 -- parameter <U> on the HCurve <C>.
24
25 D2 (myclass; C : HCurve from Adaptor3d;
26 U : Real; P : out Pnt; V1, V2 : out Vec);
27 ---Purpose: Computes the point <P>, the first derivative <V1> and second
28 -- derivative <V2> of parameter <U> on the HCurve <C>.
29
30 D3 (myclass; C : HCurve from Adaptor3d;
31 U : Real; P : out Pnt; V1, V2, V3 : out Vec);
32 ---Purpose: Computes the point <P>, the first derivative <V1>, the
33 -- second derivative <V2> and third derivative <V3> of
34 -- parameter <U> on the HCurve <C>.
35
36 Continuity(myclass; C : HCurve from Adaptor3d) returns Integer;
37 ---Purpose: returns the order of continuity of the HCurve <C>.
38 -- returns 1 : first derivative only is computable
39 -- returns 2 : first and second derivative only are computable.
40 -- returns 3 : first, second and third are computable.
41
42 FirstParameter(myclass; C : HCurve from Adaptor3d) returns Real;
43 ---Purpose: returns the first parameter bound of the HCurve.
44 --
45
46 LastParameter(myclass; C : HCurve from Adaptor3d) returns Real;
47 ---Purpose: returns the last parameter bound of the HCurve.
48 -- FirstParameter must be less than LastParamenter.
49
50end CurveTool;
51
52