1 -- File: ShapeUpgrade_SplitCurve3d.cdl
2 -- Created: Thu Mar 12 11:14:13 1998
4 -- <rln@kinox.nnov.matra-dtv.fr>
5 ---Copyright: Matra Datavision 1998
7 class SplitCurve3d from ShapeUpgrade inherits SplitCurve from ShapeUpgrade
9 ---Purpose: Splits a 3d curve with a criterion.
13 HArray1OfCurve from TColGeom
17 Create returns mutable SplitCurve3d from ShapeUpgrade;
18 ---Purpose: Empty constructor.
20 Init (me: mutable; C: Curve from Geom);
21 ---Purpose: Initializes with curve with its first and last parameters.
23 Init (me: mutable; C : Curve from Geom;
25 ---Purpose: Initializes with curve with its parameters.
27 Build (me: mutable; Segment: Boolean) is redefined;
28 ---Purpose: If Segment is True, the result is composed with
29 -- segments of the curve bounded by the SplitValues. If
30 -- Segment is False, the result is composed with trimmed
31 -- Curves all based on the same complete curve.
34 GetCurves(me) returns HArray1OfCurve from TColGeom;
35 ---C++: return const &
39 myCurve : Curve from Geom is protected;
40 myResultingCurves: HArray1OfCurve from TColGeom is protected;