1 -- File: BRep_PolygonOnSurface.cdl
2 -- Created: Tue Mar 14 18:30:24 1995
3 -- Author: Laurent PAINNOT
5 ---Copyright: Matra Datavision 1995
8 class PolygonOnSurface from BRep inherits CurveRepresentation from BRep
10 ---Purpose: Representation of a 2D polygon in the parametric
11 -- space of a surface.
17 CurveRepresentation from BRep,
21 raises DomainError from Standard
26 Create(P: Polygon2D from Poly;
28 L: Location from TopLoc)
29 returns mutable PolygonOnSurface from BRep;
32 IsPolygonOnSurface(me) returns Boolean
33 ---Purpose: A 2D polygon representation in the parametric
34 -- space of a surface.
38 IsPolygonOnSurface(me; S: Surface from Geom; L: Location from TopLoc)
40 ---Purpose: A 2D polygon representation in the parametric
41 -- space of a surface.
45 Surface(me) returns any Surface from Geom
50 Polygon(me) returns any Polygon2D from Poly
51 ---C++: return const &
54 Polygon(me: mutable; P: Polygon2D from Poly)
58 Copy(me) returns mutable CurveRepresentation from BRep
59 ---Purpose: Return a copy of this representation.
65 myPolygon2D: Polygon2D from Poly;
66 mySurface : Surface from Geom;