0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / MeshVS / MeshVS_SensitiveFace.cdl
1 -- Created on: 2003-09-29
2 -- Created by: Alexander SOLOVYOV and Sergey LITONIN
3 -- Copyright (c) 2003-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 class SensitiveFace from MeshVS inherits SensitiveFace from Select3D
17
18         ---Purpose: This class provides custom sensitive face, which will be selected if it center is in rectangle.
19
20 uses
21   EntityOwner from SelectBasics,
22
23   Array1OfPnt from TColgp,
24
25   TypeOfSensitivity from Select3D,
26   Projector         from Select3D,
27
28   Pnt   from gp,
29   Pnt2d from gp,
30
31   Array1OfPnt2d from TColgp,
32
33   Box2d from Bnd
34
35 is
36
37   Create ( theOwner    : EntityOwner from SelectBasics;
38            thePoints   : Array1OfPnt from TColgp;
39            theSensType : TypeOfSensitivity from Select3D = Select3D_TOS_INTERIOR )
40     returns SensitiveFace from MeshVS;
41
42   Project( me: mutable; aProjector : Projector from Select3D ) is redefined;
43
44   Matches  ( me: mutable; XMin, YMin, XMax, YMax: Real;
45              aTol: Real ) returns Boolean is redefined;
46
47   Matches  ( me: mutable; Polyline: Array1OfPnt2d from TColgp;
48               aBox:Box2d; aTol: Real ) returns Boolean is redefined;
49
50 fields
51   myCentre      : Pnt   from gp is protected;
52   myProjCentre  : Pnt2d from gp is protected;
53
54 end SensitiveFace;