1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0023012: Detection gives incorrect results

This commit is contained in:
ouv
2012-03-26 19:50:04 +04:00
committed by ouv
parent 476ed21f1b
commit 3c9825482f
11 changed files with 263 additions and 47 deletions

View File

@@ -154,6 +154,11 @@ is
---Purpose: changes the Sensitivity of picking
-- Input value is Real.
Sensitivity (me) returns Real from Standard;
---Level: Public
---Purpose: returns the Sensitivity of picking
---C++: inline
SetClipping(me:mutable ; Xc,Yc,Height,Width:Real) is static;
---Level: Public
---Purpose: sets the clipping limits of dynamic picking

View File

@@ -19,6 +19,11 @@
#define OCC9026 //AEL Additional method to optimize performance
//of the FindSelectedOwnerFromShape() method.
inline Standard_Real SelectMgr_ViewerSelector::Sensitivity() const
{
return mytolerance;
}
inline void SelectMgr_ViewerSelector::Init()
{
myCurRank = 1;