blob: 072312694cb59a91131b530f4959bd387a19a0f6 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
-- File: BRep_CurveOnClosedSurface.cdl
-- Created: Tue Jul 6 10:16:47 1993
-- Author: Remi LEQUETTE
-- <rle@phylox>
---Copyright: Matra Datavision 1993
class CurveOnClosedSurface from BRep inherits CurveOnSurface from BRep
---Purpose: Representation of a curve by two pcurves on
-- a closed surface.
uses
Pnt2d from gp,
Box2d from Bnd,
Curve from Geom2d,
Surface from Geom,
Location from TopLoc,
Shape from GeomAbs,
CurveRepresentation from BRep
is
Create(PC1, PC2 : Curve from Geom2d;
S : Surface from Geom;
L : Location from TopLoc;
C : Shape from GeomAbs)
returns mutable CurveOnClosedSurface from BRep;
SetUVPoints2(me : mutable; P1, P2 : Pnt2d from gp)
---C++: inline
is static;
UVPoints2(me; P1, P2 : out Pnt2d from gp)
---C++: inline
is static;
IsCurveOnClosedSurface(me) returns Boolean
---Purpose: Returns True.
is redefined;
IsRegularity(me) returns Boolean
---Purpose: Returns True
is redefined;
IsRegularity(me; S1,S2 : Surface from Geom;
L1,L2 : Location from TopLoc)
returns Boolean
---Purpose: A curve on two surfaces (continuity).
is redefined;
PCurve2(me) returns any Curve from Geom2d
---C++: return const &
is redefined;
Surface2(me) returns any Surface from Geom
---Purpose: Returns Surface()
--
---C++: return const &
is redefined;
Location2(me) returns Location from TopLoc
---Purpose: Returns Location()
--
---C++: return const &
is redefined;
Continuity(me) returns Shape from GeomAbs
---C++: return const &
is redefined;
Continuity(me : mutable; C : Shape from GeomAbs)
is redefined;
PCurve2(me : mutable; C : Curve from Geom2d)
is redefined;
Copy(me) returns mutable CurveRepresentation from BRep
---Purpose: Return a copy of this representation.
is redefined;
Update(me : mutable)
---Purpose: Recomputes any derived data after a modification.
-- This is called when the range is modified.
is redefined;
fields
myPCurve2 : Curve from Geom2d;
myContinuity : Shape from GeomAbs;
myUV21 : Pnt2d from gp;
myUV22 : Pnt2d from gp;
end CurveOnClosedSurface;
|