1 -- Created on: 1992-03-26
2 -- Created by: Herve LEGRAND
3 -- Copyright (c) 1992-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
22 class Curve2dTool from Geom2dLProp
31 Value(myclass; C : Curve from Geom2d; U : Real;
33 ---Purpose: Computes the point <P> of parameter <U> on the curve <C>.
35 D1 (myclass; C : Curve from Geom2d; U : Real;
36 P : out Pnt2d; V1 : out Vec2d);
37 ---Purpose: Computes the point <P> and first derivative <V1> of
38 -- parameter <U> on the curve <C>.
40 D2 (myclass; C : Curve from Geom2d; U : Real;
41 P : out Pnt2d; V1, V2 : out Vec2d);
42 ---Purpose: Computes the point <P>, the first derivative <V1> and second
43 -- derivative <V2> of parameter <U> on the curve <C>.
45 D3 (myclass; C : Curve from Geom2d; U : Real;
46 P : out Pnt2d; V1, V2, V3 : out Vec2d);
47 ---Purpose: Computes the point <P>, the first derivative <V1>, the
48 -- second derivative <V2> and third derivative <V3> of
49 -- parameter <U> on the curve <C>.
51 Continuity(myclass; C : Curve from Geom2d) returns Integer;
52 ---Purpose: returns the order of continuity of the curve <C>.
53 -- returns 1 : first derivative only is computable
54 -- returns 2 : first and second derivative only are computable.
55 -- returns 3 : first, second and third are computable.
57 FirstParameter(myclass; C : Curve from Geom2d) returns Real;
58 ---Purpose: returns the first parameter bound of the curve.
61 LastParameter(myclass; C : Curve from Geom2d) returns Real;
62 ---Purpose: returns the last parameter bound of the curve.
63 -- FirstParameter must be less than LastParameter.