0024428: Implementation of LGPL license
[occt.git] / src / MeshVS / MeshVS_DummySensitiveEntity.cxx
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
8 // under the terms of the GNU Lesser General Public 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 #include <MeshVS_DummySensitiveEntity.ixx>
17
18 //================================================================
19 // Function : Constructor MeshVS_DummySensitiveEntity
20 // Purpose  :
21 //================================================================
22 MeshVS_DummySensitiveEntity::MeshVS_DummySensitiveEntity
23   ( const Handle(SelectBasics_EntityOwner)& OwnerId )
24 : SelectBasics_SensitiveEntity( OwnerId )
25 {
26 }
27
28 //================================================================
29 // Function : Areas
30 // Purpose  :
31 //================================================================
32 void MeshVS_DummySensitiveEntity::Areas( SelectBasics_ListOfBox2d& )
33 {
34 }
35
36 //================================================================
37 // Function : Matches
38 // Purpose  :
39 //================================================================
40 Standard_Boolean MeshVS_DummySensitiveEntity::Matches( const SelectBasics_PickArgs&,
41                                                        Standard_Real&,
42                                                        Standard_Real& )
43 {
44   return Standard_False;
45 }
46
47 //================================================================
48 // Function : Matches
49 // Purpose  :
50 //================================================================
51 Standard_Boolean MeshVS_DummySensitiveEntity::Matches( const Standard_Real,
52                                                        const Standard_Real,
53                                                        const Standard_Real,
54                                                        const Standard_Real,
55                                                        const Standard_Real )
56 {
57   return Standard_False;
58 }
59
60 //================================================================
61 // Function : Matches
62 // Purpose  :
63 //================================================================
64 Standard_Boolean MeshVS_DummySensitiveEntity::Matches( const TColgp_Array1OfPnt2d&,
65                                                        const Bnd_Box2d&,
66                                                        const Standard_Real )
67 {
68   return Standard_False;
69 }
70
71 //================================================================
72 // Function : NeedsConversion
73 // Purpose  :
74 //================================================================
75 Standard_Boolean MeshVS_DummySensitiveEntity::NeedsConversion() const
76 {
77   return Standard_False;
78 }
79
80 //================================================================
81 // Function : Is3D
82 // Purpose  :
83 //================================================================
84 Standard_Boolean MeshVS_DummySensitiveEntity::Is3D() const
85 {
86   return Standard_True;
87 }
88
89 //================================================================
90 // Function : MaxBoxes
91 // Purpose  :
92 //================================================================
93 Standard_Integer MeshVS_DummySensitiveEntity::MaxBoxes() const
94 {
95   return 0;
96 }