Integration of OCCT 6.5.0 from SVN
[occt.git] / src / BRepAdaptor / BRepAdaptor_Curve2d.cdl
1 -- File:        BRepAdaptor2d_Curve2d.cdl
2 -- Created:     Tue Jul 13 10:16:37 1993
3 -- Author:      Remi LEQUETTE
4 --              <rle@nonox>
5 ---Copyright:    Matra Datavision 1993
6
7
8
9 class Curve2d from BRepAdaptor inherits Curve from Geom2dAdaptor
10
11         ---Purpose: The Curve2d from BRepAdaptor allows to use an Edge
12         --          on   a Face like   a  2d   curve. (curve  in   the
13         --          parametric space).
14         --          
15         --          It  has  the methods    of the class Curve2d  from
16         --          Adpator. 
17         --          
18         --          It  is created or  initialized with a  Face and an
19         --          Edge.  The methods are  inherited from  Curve from
20         --          Geom2dAdaptor. 
21
22 uses
23     Face from TopoDS,
24     Edge from TopoDS
25
26 raises
27     NullObject from Standard
28
29 is
30
31     Create returns Curve2d from BRepAdaptor;
32         ---Purpose: Creates an uninitialized curve2d.
33
34     Create(E : Edge from TopoDS; F : Face from TopoDS)
35     returns Curve2d from BRepAdaptor
36         ---Purpose: Creates with the pcurve of <E> on <F>.
37     raises
38         NullObject from Standard; -- if <E> has no pcurve on <F>
39         
40     Initialize(me : in out; E : Edge from TopoDS; F : Face from TopoDS)
41         ---Purpose: Initialize with the pcurve of <E> on <F>.
42     raises
43         NullObject from Standard -- if <E> has no pcurve on <F>
44     is static;
45     
46     Edge(me) returns Edge from TopoDS
47         ---Purpose: Returns the Edge.
48         --          
49         ---C++: return const &
50     is static;
51
52     Face(me) returns Face from TopoDS
53         ---Purpose: Returns the Face.
54         --          
55         ---C++: return const &
56     is static;
57
58 fields
59
60     myEdge : Edge from TopoDS;
61     myFace : Face from TopoDS;
62         
63 end Curve2d;