blob: c9ac4137bbb3a7df25a37b598ccc45e7a7d643af (
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
|
-- File: PBRep_PointRepresentation.cdl
-- Created: Wed Aug 11 11:34:20 1993
-- Author: Remi LEQUETTE
-- <rle@phylox>
---Copyright: Matra Datavision 1993
deferred class PointRepresentation from PBRep inherits Persistent
---Purpose: Root class for points representations.
uses
Location from PTopLoc
is
Initialize(P : Real;
L : Location from PTopLoc);
---Level: Internal
Location(me) returns Location from PTopLoc
is static;
---Level: Internal
Parameter(me) returns Real
is static;
---Level: Internal
Parameter(me : mutable; P : Real)
is static;
---Level: Internal
Next(me) returns PointRepresentation from PBRep
is static;
---Level: Internal
Next(me : mutable; N : PointRepresentation from PBRep)
is static;
---Level: Internal
------------------------------------------------------
-- What kind of representation : used to speed Mapping
------------------------------------------------------
IsPointOnCurve(me) returns Boolean
---Purpose: A point on a 3d curve.
is virtual;
IsPointOnCurveOnSurface(me) returns Boolean
---Purpose: A point on a 2d curve on a surface.
is virtual;
IsPointOnSurface(me) returns Boolean
---Purpose: A point on a surface.
is virtual;
fields
myLocation : Location from PTopLoc;
myParameter : Real;
myNext : PointRepresentation from PBRep;
end PointRepresentation;
|