b311480e |
1 | -- Created on: 1993-04-20 |
2 | -- Created by: Modelistation |
3 | -- Copyright (c) 1993-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 | |
17 | class CLPropsATool from HLRBRep |
18 | |
19 | uses |
20 | Curve from HLRBRep, |
21 | Pnt2d from gp, |
22 | Vec2d from gp |
23 | |
24 | is |
25 | Value(myclass; A : Address from Standard; |
26 | U : Real from Standard; |
27 | P : out Pnt2d from gp); |
28 | ---Purpose: Computes the point <P> of parameter <U> on the |
29 | -- Curve from HLRBRep <C>. |
30 | -- |
31 | ---C++: inline |
32 | |
33 | D1 (myclass; A : Address from Standard; |
34 | U : Real from Standard; |
35 | P : out Pnt2d from gp; |
36 | V1 : out Vec2d from gp); |
37 | ---Purpose: Computes the point <P> and first derivative <V1> |
38 | -- of parameter <U> on the curve <C>. |
39 | -- |
40 | ---C++: inline |
41 | |
42 | D2 (myclass; A : Address from Standard; |
43 | U : Real from Standard; |
44 | P : out Pnt2d from gp; |
45 | V1, V2 : out Vec2d from gp); |
46 | ---Purpose: Computes the point <P>, the first derivative <V1> |
47 | -- and second derivative <V2> of parameter <U> on the |
48 | -- curve <C>. |
49 | -- |
50 | ---C++: inline |
51 | |
52 | D3 (myclass; A : Address from Standard; |
53 | U : Real from Standard; |
54 | P : out Pnt2d from gp; |
55 | V1, V2, V3 : out Vec2d from gp); |
56 | ---Purpose: Computes the point <P>, the first derivative <V1>, |
57 | -- the second derivative <V2> and third derivative |
58 | -- <V3> of parameter <U> on the curve <C>. |
59 | -- |
60 | ---C++: inline |
61 | |
62 | Continuity(myclass; A : Address from Standard) |
63 | returns Integer from Standard; |
64 | ---Purpose: returns the order of continuity of the curve <C>. |
65 | -- returns 1 : first derivative only is computable |
66 | -- returns 2 : first and second derivative only are |
67 | -- computable. returns 3 : first, second and third |
68 | -- are computable. |
69 | -- |
70 | ---C++: inline |
71 | |
72 | FirstParameter(myclass; A : Address from Standard) |
73 | returns Real from Standard; |
74 | ---Purpose: returns the first parameter bound of the curve. |
75 | -- |
76 | ---C++: inline |
77 | |
78 | LastParameter(myclass; A : Address from Standard) |
79 | returns Real from Standard; |
80 | ---Purpose: returns the last parameter bound of the curve. |
81 | -- FirstParameter must be less than LastParamenter. |
82 | -- |
83 | ---C++: inline |
84 | |
85 | end CLPropsATool; |