blob: 8d82e54ead84a921fbb53098e2cf6bc201844fcc (
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
|
--
-- File : SelectedComponent.cdl
-- Created : Sat 9 Jan 1993
-- Author : CKY / Contract Toubro-Larsen ( SIVA )
--
---Copyright : MATRA-DATAVISION 1993
--
class SelectedComponent from IGESSolid inherits IGESEntity
---Purpose: defines SelectedComponent, Type <182> Form Number <0>
-- in package IGESSolid
-- The Selected Component entity provides a means of
-- selecting one component of a disjoint CSG solid
uses
BooleanTree from IGESSolid,
XYZ from gp,
Pnt from gp
is
Create returns mutable SelectedComponent;
-- Specific Methods pertaining to the class
Init (me : mutable;
anEntity : BooleanTree;
selectPnt : XYZ);
---Purpose : This method is used to set the fields of the class
-- SelectedComponent
-- - anEntity : the Boolean tree entity
-- - selectPnt : Point in or on the desired component
Component(me) returns BooleanTree;
---Purpose : returns the Boolean tree entity
SelectPoint(me) returns Pnt;
---Purpose : returns the point on/in the selected component
TransformedSelectPoint(me) returns Pnt;
---Purpose : returns the point on/in the selected component
-- after applying TransformationMatrix
fields
--
-- Class : IGESSolid_SelectedComponent
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class SelectedComponent.
--
-- Reminder : A SelectedComponent instance is defined by :
-- a pointer to the Boolean Tree entity(Entity) and the X, Y
-- and Z components (X,Y,Z) of a selected point.
theEntity : BooleanTree;
-- the desired boolean tree entity
theSelectPoint : XYZ;
-- the X, Y and Z coordinates of the point
end SelectedComponent;
|