blob: c905dec7ae428d0bb3ca9cb640cfbe60bb1f16b1 (
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
100
101
102
103
104
105
106
107
108
109
|
-- File: Blend_PointOnRst.cdl
-- Created: Thu Dec 2 16:00:09 1993
-- Author: Jacques GOUSSARD
-- <jag@topsn2>
---Copyright: Matra Datavision 1993
generic class PointOnRst from Blend
(TheArc as any)
---Purpose: Definition of an intersection point between a line
-- and a restriction on a surface.
-- Such a point is contains geometrical informations (see
-- the Value method) and logical informations.
uses Transition from IntSurf
raises DomainError from Standard
is
Create
---Purpose: Empty constructor.
returns PointOnRst from Blend;
Create( A: TheArc; Param: Real from Standard;
TLine, TArc: Transition from IntSurf)
---Purpose: Creates the PointOnRst on the arc A, at parameter Param,
-- with the transition TLine on the walking line, and
-- TArc on the arc A.
returns PointOnRst from Blend;
SetArc(me: in out; A: TheArc; Param: Real from Standard;
TLine, TArc: Transition from IntSurf)
---Purpose: Sets the values of a point which is on the arc
-- A, at parameter Param.
is static;
Arc(me)
---Purpose: Returns the arc of restriction containing the
-- vertex.
returns any TheArc
---C++: return const&
---C++: inline
is static;
TransitionOnLine(me)
---Purpose: Returns the transition of the point on the
-- line on surface.
returns Transition from IntSurf
---C++: return const&
---C++: inline
is static;
TransitionOnArc(me)
---Purpose: Returns the transition of the point on the arc
-- returned by Arc().
returns Transition from IntSurf
---C++: return const&
---C++: inline
is static;
ParameterOnArc(me)
---Purpose: Returns the parameter of the point on the
-- arc returned by the method Arc().
returns Real from Standard
---C++: inline
is static;
fields
arc : TheArc;
traline : Transition from IntSurf;
traarc : Transition from IntSurf;
prm : Real from Standard;
end PointOnRst;
|