0024510: Remove unused local variables
[occt.git] / src / IntCurve / IntCurve_PConicTool.cdl
CommitLineData
b311480e 1-- Created on: 1992-03-26
2-- Created by: Laurent BUCHARD
3-- Copyright (c) 1992-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--
973c2be1 8-- This library is free software; you can redistribute it and / or modify it
9-- under the terms of the GNU Lesser General Public version 2.1 as published
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
17private class PConicTool from IntCurve
18
19 ---Purpose: Implementation of the ParTool from IntImpParGen
20 -- for conics of gp, using the class PConic from IntCurve.
21
22 ---Level: Internal
23
24uses Pnt2d from gp,
25 Vec2d from gp,
26 Lin2d from gp,
27 XY from gp,
28 PConic from IntCurve
29
30is
31
32
33 EpsX (myclass; C: PConic)
34 --Purpose: Tolerance used by mathematical algorithms
35 -- usually about 1e-10
36 returns Real from Standard;
37
38
39 NbSamples(myclass; C: PConic)
40 --Purpose: returns the number of samples on the parametric curve
41 returns Integer from Standard;
42
43 NbSamples(myclass; C: PConic; U0,U1: Real from Standard)
44 --Purpose: returns the number of samples on the parametric curve
45 returns Integer from Standard;
46
47
48 Value (myclass; C: PConic from IntCurve; X: Real from Standard)
49 --Purpose: Returns the geometric point which lies at the
50 -- parameter x on the parametric curve.
51 returns Pnt2d from gp;
52
53
54 D1 (myclass; C: PConic from IntCurve; U: Real from Standard ;
55 P: out Pnt2d; T: out Vec2d);
56 --Purpose: Computes the Value, First and Second Derivative at
57 -- the parameter U on the curve.
58
59
60 D2 (myclass; C: PConic from IntCurve; U: Real from Standard ;
61 P: out Pnt2d; T,N: out Vec2d);
62
63 --Purpose: Computes the Value, First and Second Derivative at
64 -- the parameter U on the curve.
65
66end PConicTool;
67
68
69
70
71
72
73
74
75