1 -- File: GeomFill_SimpleBound.cdl
2 -- Created: Fri Nov 3 14:42:34 1995
3 -- Author: Laurent BOURESCHE
5 ---Copyright: Matra Datavision 1995
8 class SimpleBound from GeomFill inherits Boundary from GeomFill
10 ---Purpose: Defines a 3d curve as a boundary for a
11 -- GeomFill_ConstrainedFilling algorithm.
12 -- This curve is unattached to an existing surface.D
22 Create(Curve : HCurve from Adaptor3d;
23 Tol3d : Real from Standard;
24 Tolang : Real from Standard)
25 returns mutable SimpleBound from GeomFill;
28 -- Constructs the boundary object defined by the 3d curve.
29 -- The surface to be built along this boundary will be in the
30 -- tolerance range defined by Tol3d.
31 -- This object is to be used as a boundary for a
32 -- GeomFill_ConstrainedFilling framework.
33 -- Dummy is initialized but has no function in this class.
35 -- Curve is an adapted curve, that is, an object which is an interface between:
36 -- - the services provided by a 3D curve from the package Geom
37 -- - and those required of the curve by the computation
38 -- algorithm which uses it.
39 -- The adapted curve is created in one of the following ways:
41 -- Handle(Geom_Curve) myCurve = ... ;
42 -- Handle(GeomAdaptor_HCurve)
44 -- GeomAdaptor_HCurve(myCurve);
47 -- Handle(Geom_Curve) myCurve = ... ;
48 -- GeomAdaptor_Curve Crv (myCurve);
50 -- Handle(GeomAdaptor_HCurve)
52 -- GeomAdaptor_HCurve(Crv);
53 -- You use the second part of this sequence if you already
54 -- have the adapted curve Crv.
55 -- The boundary is then constructed with the Curve object:
56 -- Standard_Real Tol = ... ;
57 -- Standard_Real dummy = 0. ;
58 -- myBoundary = GeomFill_SimpleBound
62 U : Real from Standard)
66 U : Real from Standard;
68 V : out Vec from gp) ;
70 Reparametrize(me : mutable;
71 First, Last : Real from Standard;
72 HasDF, HasDL : Boolean from Standard;
73 DF, DL : Real from Standard;
74 Rev : Boolean from Standard);
76 Bounds(me; First, Last : out Real from Standard);
78 IsDegenerated(me) returns Boolean from Standard;
82 myC3d : HCurve from Adaptor3d;
83 myPar : Function from Law;