0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / BRepLProp / BRepLProp_CurveTool.cdl
CommitLineData
b311480e 1-- Created on: 1994-02-24
2-- Created by: Laurent BOURESCHE
3-- Copyright (c) 1994-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 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
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class CurveTool from BRepLProp
18
19uses Vec from gp,
20 Pnt from gp,
21 Dir from gp,
22 Curve from BRepAdaptor
23
24is
25
26 Value(myclass; C : Curve from BRepAdaptor; U : Real; P : out Pnt);
27 ---Purpose: Computes the point <P> of parameter <U> on the curve <C>.
28
29 D1 (myclass; C : Curve from BRepAdaptor;
30 U : Real; P : out Pnt; V1 : out Vec);
31 ---Purpose: Computes the point <P> and first derivative <V1> of
32 -- parameter <U> on the curve <C>.
33
34 D2 (myclass; C : Curve from BRepAdaptor;
35 U : Real; P : out Pnt; V1, V2 : out Vec);
36 ---Purpose: Computes the point <P>, the first derivative <V1> and second
37 -- derivative <V2> of parameter <U> on the curve <C>.
38
39 D3 (myclass; C : Curve from BRepAdaptor;
40 U : Real; P : out Pnt; V1, V2, V3 : out Vec);
41 ---Purpose: Computes the point <P>, the first derivative <V1>, the
42 -- second derivative <V2> and third derivative <V3> of
43 -- parameter <U> on the curve <C>.
44
45 Continuity(myclass; C : Curve from BRepAdaptor) returns Integer;
46 ---Purpose: returns the order of continuity of the curve <C>.
47 -- returns 1 : first derivative only is computable
48 -- returns 2 : first and second derivative only are computable.
49 -- returns 3 : first, second and third are computable.
50
51 FirstParameter(myclass; C : Curve from BRepAdaptor) returns Real;
52 ---Purpose: returns the first parameter bound of the curve.
53 --
54
55 LastParameter(myclass; C : Curve from BRepAdaptor) returns Real;
56 ---Purpose: returns the last parameter bound of the curve.
57 -- FirstParameter must be less than LastParamenter.
58
59end CurveTool;
60
61