1 -- File: BRepAdaptor2d_Curve2d.cdl
2 -- Created: Tue Jul 13 10:16:37 1993
3 -- Author: Remi LEQUETTE
5 ---Copyright: Matra Datavision 1993
9 class Curve2d from BRepAdaptor inherits Curve from Geom2dAdaptor
11 ---Purpose: The Curve2d from BRepAdaptor allows to use an Edge
12 -- on a Face like a 2d curve. (curve in the
15 -- It has the methods of the class Curve2d from
18 -- It is created or initialized with a Face and an
19 -- Edge. The methods are inherited from Curve from
27 NullObject from Standard
31 Create returns Curve2d from BRepAdaptor;
32 ---Purpose: Creates an uninitialized curve2d.
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>.
38 NullObject from Standard; -- if <E> has no pcurve on <F>
40 Initialize(me : in out; E : Edge from TopoDS; F : Face from TopoDS)
41 ---Purpose: Initialize with the pcurve of <E> on <F>.
43 NullObject from Standard -- if <E> has no pcurve on <F>
46 Edge(me) returns Edge from TopoDS
47 ---Purpose: Returns the Edge.
49 ---C++: return const &
52 Face(me) returns Face from TopoDS
53 ---Purpose: Returns the Face.
55 ---C++: return const &
60 myEdge : Edge from TopoDS;
61 myFace : Face from TopoDS;