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 under
8 -- the terms of the GNU Lesser General Public License 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
17 ---Purpose: class is a container of
25 CurveType from GeomAbs
28 returns Curve from IntTools;
33 Create(Curve3d: Curve from Geom;
34 FirstCurve2d : Curve from Geom2d;
35 SecondCurve2d: Curve from Geom2d)
36 returns Curve from IntTools;
38 --- Initializes me by a 3d curve
43 Curve3d: Curve from Geom;
44 FirstCurve2d : Curve from Geom2d;
45 SecondCurve2d : Curve from Geom2d);
51 Curve3d: Curve from Geom);
57 SetFirstCurve2d(me: in out;
58 FirstCurve2d: Curve from Geom2d);
64 SetSecondCurve2d(me: in out;
65 SecondCurve2d: Curve from Geom2d);
72 returns any Curve from Geom;
73 ---C++: return const &
80 returns any Curve from Geom2d;
81 ---C++: return const &
88 returns any Curve from Geom2d;
89 ---C++: return const &
96 returns Boolean from Standard;
98 --- Returns true if 3d curve is BoundedCurve from Geom
101 Bounds (me; aT1:out Real from Standard;
102 aT2:out Real from Standard;
104 aP2:out Pnt from gp);
106 --- Returns boundary parameters
107 --- and corresponded 3d point.
110 --- If HasBounds returns false
111 --- the returned parameters are equal
116 aT1:out Real from Standard;
118 returns Boolean from Standard;
120 --- Computes 3d point corresponded to parameter aT1
121 --- Returns true if given parameter aT1
122 --- is inside the boundaries of the curve
126 returns CurveType from GeomAbs;
128 --- Returns the type of 3d curve
133 my3dCurve : Curve from Geom;
134 my2dCurve1: Curve from Geom2d;
135 my2dCurve2: Curve from Geom2d;
137 end Curve from IntTools;