blob: 789b80c372cbce9442b7b6a613f3794dcffaf7f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
-- File: BRep_PolygonOnClosedSurface.cdl
-- Created: Wed Mar 15 15:09:44 1995
-- Author: Laurent PAINNOT
-- <lpa@metrox>
---Copyright: Matra Datavision 1995
class PolygonOnClosedSurface from BRep
inherits PolygonOnSurface from BRep
---Purpose: Representation by two 2d polygons in the parametric
-- space of a surface.
uses Polygon2D from Poly,
Surface from Geom,
CurveRepresentation from BRep,
Location from TopLoc
is
Create(P1: Polygon2D from Poly;
P2: Polygon2D from Poly;
S: Surface from Geom;
L: Location from TopLoc)
returns mutable PolygonOnClosedSurface from BRep;
IsPolygonOnClosedSurface(me) returns Boolean
---Purpose: returns True.
is redefined;
Polygon2(me) returns any Polygon2D from Poly
---C++: return const&
is redefined;
Polygon2(me: mutable; P: Polygon2D from Poly)
is redefined;
Copy(me) returns mutable CurveRepresentation from BRep
---Purpose: Return a copy of this representation.
is redefined;
fields
myPolygon2: Polygon2D from Poly;
end PolygonOnClosedSurface;
|