1 -- Created on: 2000-11-23
2 -- Created by: Michael KLOKOV
3 -- Copyright (c) 2000-2014 OPEN CASCADE SAS
5 -- This file is part of Open CASCADE Technology software library.
7 -- This library is free software; you can redistribute it and / or modify it
8 -- under the terms of the GNU Lesser General Public version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
16 class Curve from IntTools
23 CurveType from GeomAbs
26 returns Curve from IntTools;
31 Create(Curve3d: Curve from Geom;
32 FirstCurve2d : Curve from Geom2d;
33 SecondCurve2d: Curve from Geom2d)
34 returns Curve from IntTools;
36 --- Initializes me by a 3d curve
41 Curve3d: Curve from Geom;
42 FirstCurve2d : Curve from Geom2d;
43 SecondCurve2d : Curve from Geom2d);
49 Curve3d: Curve from Geom);
55 SetFirstCurve2d(me: in out;
56 FirstCurve2d: Curve from Geom2d);
62 SetSecondCurve2d(me: in out;
63 SecondCurve2d: Curve from Geom2d);
70 returns any Curve from Geom;
71 ---C++: return const &
78 returns any Curve from Geom2d;
79 ---C++: return const &
86 returns any Curve from Geom2d;
87 ---C++: return const &
94 returns Boolean from Standard;
96 --- Returns true if 3d curve is BoundedCurve from Geom
99 Bounds (me; aT1:out Real from Standard;
100 aT2:out Real from Standard;
102 aP2:out Pnt from gp);
104 --- Returns boundary parameters
105 --- and corresponded 3d point.
108 --- If HasBounds returns false
109 --- the returned parameters are equal
114 aT1:out Real from Standard;
116 returns Boolean from Standard;
118 --- Computes 3d point corresponded to parameter aT1
119 --- Returns true if given parameter aT1
120 --- is inside the boundaries of the curve
124 returns CurveType from GeomAbs;
126 --- Returns the type of 3d curve
131 my3dCurve : Curve from Geom;
132 my2dCurve1: Curve from Geom2d;
133 my2dCurve2: Curve from Geom2d;
135 end Curve from IntTools;