0026069: Coding Rules - eliminate new warnings about redundant const qualifier in...
[occt.git] / src / SelectMgr / SelectMgr_BaseFrustum.cxx
index cf64c83..4d615bf 100644 (file)
@@ -97,8 +97,8 @@ void SelectMgr_BaseFrustum::SetBuilder (const NCollection_Handle<SelectMgr_Frust
 // purpose  : SAT intersection test between defined volume and
 //            given axis-aligned box
 //=======================================================================
-const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const BVH_Box<Standard_Real, 3>& /*theBndBox*/,
-                                                        Standard_Real& /*theDepth*/)
+Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const BVH_Box<Standard_Real, 3>& /*theBndBox*/,
+                                                  Standard_Real& /*theDepth*/)
 {
   return Standard_False;
 }
@@ -107,8 +107,8 @@ const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const BVH_Box<Standard_R
 // function : Overlaps
 // purpose  : Intersection test between defined volume and given point
 //=======================================================================
-const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const SelectMgr_Vec3& /*theMinPt*/,
-                                                        const SelectMgr_Vec3& /*theMaxPt*/)
+Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const SelectMgr_Vec3& /*theMinPt*/,
+                                                  const SelectMgr_Vec3& /*theMaxPt*/)
 {
   return Standard_False;
 }
@@ -117,8 +117,8 @@ const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const SelectMgr_Vec3& /*
 // function : Overlaps
 // purpose  : Intersection test between defined volume and given point
 //=======================================================================
-const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const gp_Pnt& /*thePt*/,
-                                                        Standard_Real& /*theDepth*/)
+Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const gp_Pnt& /*thePt*/,
+                                                  Standard_Real& /*theDepth*/)
 {
   return Standard_False;
 }
@@ -130,9 +130,9 @@ const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const gp_Pnt& /*thePt*/,
 //            may be considered of interior part or boundary line defined
 //            by segments depending on given sensitivity type
 //=======================================================================
-const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const Handle(TColgp_HArray1OfPnt)& /*theArrayOfPts*/,
-                                                        Select3D_TypeOfSensitivity /*theSensType*/,
-                                                        Standard_Real& /*theDepth*/)
+Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const Handle(TColgp_HArray1OfPnt)& /*theArrayOfPts*/,
+                                                  Select3D_TypeOfSensitivity /*theSensType*/,
+                                                  Standard_Real& /*theDepth*/)
 {
   return Standard_False;
 }
@@ -144,11 +144,11 @@ const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const Handle(TColgp_HArr
 //            boundary line defined by triangle vertices depending on
 //            given sensitivity type
 //=======================================================================
-const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const gp_Pnt& /*thePt1*/,
-                                                        const gp_Pnt& /*thePt2*/,
-                                                        const gp_Pnt& /*thePt3*/,
-                                                        Select3D_TypeOfSensitivity /*theSensType*/,
-                                                        Standard_Real& /*theDepth*/)
+Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const gp_Pnt& /*thePt1*/,
+                                                  const gp_Pnt& /*thePt2*/,
+                                                  const gp_Pnt& /*thePt3*/,
+                                                  Select3D_TypeOfSensitivity /*theSensType*/,
+                                                  Standard_Real& /*theDepth*/)
 {
   return Standard_False;
 }
@@ -157,9 +157,9 @@ const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const gp_Pnt& /*thePt1*/
 // function : Overlaps
 // purpose  : Checks if line segment overlaps selecting volume
 //=======================================================================
-const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const gp_Pnt& /*thePt1*/,
-                                                        const gp_Pnt& /*thePt2*/,
-                                                        Standard_Real& /*theDepth*/)
+Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const gp_Pnt& /*thePt1*/,
+                                                  const gp_Pnt& /*thePt2*/,
+                                                  Standard_Real& /*theDepth*/)
 {
   return Standard_False;
 }
@@ -169,7 +169,7 @@ const Standard_Boolean SelectMgr_BaseFrustum::Overlaps (const gp_Pnt& /*thePt1*/
 // purpose  : Measures distance between 3d projection of user-picked
 //            screen point and given point theCOG
 //=======================================================================
-const Standard_Real SelectMgr_BaseFrustum::DistToGeometryCenter (const gp_Pnt& /*theCOG*/)
+Standard_Real SelectMgr_BaseFrustum::DistToGeometryCenter (const gp_Pnt& /*theCOG*/)
 {
   return DBL_MAX;
 }
@@ -184,8 +184,8 @@ SelectMgr_Vec3 SelectMgr_BaseFrustum::DetectedPoint (const Standard_Real /*theDe
 // purpose  : Checks if the point of sensitive in which selection was
 //            detected belongs to the region defined by clipping planes
 //=======================================================================
-const Standard_Boolean SelectMgr_BaseFrustum::IsClipped (const Graphic3d_SequenceOfHClipPlane& /*thePlanes*/,
-                                                         const Standard_Real /*theDepth*/)
+Standard_Boolean SelectMgr_BaseFrustum::IsClipped (const Graphic3d_SequenceOfHClipPlane& /*thePlanes*/,
+                                                   const Standard_Real /*theDepth*/)
 {
   return Standard_True;
 }