1 -- Created on: 1993-01-09
2 -- Created by: CKY / Contract Toubro-Larsen ( SIVA )
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class SelectedComponent from IGESSolid inherits IGESEntity
19 ---Purpose: defines SelectedComponent, Type <182> Form Number <0>
20 -- in package IGESSolid
21 -- The Selected Component entity provides a means of
22 -- selecting one component of a disjoint CSG solid
26 BooleanTree from IGESSolid,
32 Create returns SelectedComponent;
34 -- Specific Methods pertaining to the class
37 anEntity : BooleanTree;
39 ---Purpose : This method is used to set the fields of the class
41 -- - anEntity : the Boolean tree entity
42 -- - selectPnt : Point in or on the desired component
44 Component(me) returns BooleanTree;
45 ---Purpose : returns the Boolean tree entity
47 SelectPoint(me) returns Pnt;
48 ---Purpose : returns the point on/in the selected component
50 TransformedSelectPoint(me) returns Pnt;
51 ---Purpose : returns the point on/in the selected component
52 -- after applying TransformationMatrix
57 -- Class : IGESSolid_SelectedComponent
59 -- Purpose : Declaration of variables specific to the definition
60 -- of the Class SelectedComponent.
62 -- Reminder : A SelectedComponent instance is defined by :
63 -- a pointer to the Boolean Tree entity(Entity) and the X, Y
64 -- and Z components (X,Y,Z) of a selected point.
66 theEntity : BooleanTree;
67 -- the desired boolean tree entity
70 -- the X, Y and Z coordinates of the point
72 end SelectedComponent;