blob: ec2815fc646bfd465cc6a19b324b29ebfd2a5149 (
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
|
-- File: TopOpeBRepDS_EdgeVertexInterference.cdl
-- Created: Fri Oct 28 17:29:07 1994
-- Author: Jean Yves LEBEY
-- <jyl@bravox>
---Copyright: Matra Datavision 1994
class EdgeVertexInterference from TopOpeBRepDS
inherits ShapeShapeInterference from TopOpeBRepDS
---Purpose: An interference with a parameter.
uses
Transition from TopOpeBRepDS,
Config from TopOpeBRepDS,
Kind from TopOpeBRepDS,
OStream from Standard
is
Create(T : Transition from TopOpeBRepDS;
ST : Kind from TopOpeBRepDS;
S : Integer from Standard;
G : Integer from Standard;
GIsBound : Boolean from Standard;
C : Config from TopOpeBRepDS;
P : Real from Standard)
returns mutable EdgeVertexInterference from TopOpeBRepDS;
---Purpose: Create an interference of VERTEX <G> on a crossed EDGE E.
--
-- if support type <ST> == EDGE : <S> is edge E
-- FACE : <S> is the face with bound E.
-- <T> is the transition along the edge, crossing the crossed edge.
-- E is the crossed edge.
-- <GIsBound> indicates if <G> is a bound of the edge.
-- <P> is the parameter of <G> on the edge.
--
-- interference is stored in the list of interfs of the edge.
--
Create(T : Transition from TopOpeBRepDS;
S : Integer from Standard;
G : Integer from Standard;
GIsBound : Boolean from Standard;
C : Config from TopOpeBRepDS;
P : Real from Standard)
---Purpose: Create an interference of VERTEX <G> on crossed EDGE <S>.
--
-- <T> is the transition along the edge, crossing the crossed edge.
-- <S> is the crossed edge.
-- <GIsBound> indicates if <G> is a bound of the edge.
-- <C> indicates the geometric configuration between
-- the edge and the crossed edge.
-- <P> is the parameter of <G> on the edge.
--
-- interference is stored in the list of interfs of the edge.
--
returns mutable EdgeVertexInterference from TopOpeBRepDS;
Parameter(me) returns Real from Standard
is static;
Parameter(me : mutable; P : Real from Standard)
is static;
Dump(me; OS : in out OStream from Standard) returns OStream
is redefined;
---C++: return &
fields
myParam : Real from Standard;
end EdgeVertexInterference from TopOpeBRepDS;
|