From 73d6f160961223906d736220ef113db91e40aa03 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Wed, 3 Jul 2024 15:20:46 +0200 Subject: [PATCH] #3560 ShowNPoints precision of the selected point --- .../src/interface/wxWindows/widgets/ModelShowNPoints.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx index ee247b6..a36b108 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx @@ -360,8 +360,11 @@ int ModelShowNPoints::IdInsidePoint() int id=-1; int i, size=(int)( lstPointsX.size() ); double spc[3]; +//EED 2024-07-03 +// double tmpRadio = mradio/3; +// double radio2=(tmpRadio+1)*(tmpRadio+1); double tmpRadio = mradio/3; - double radio2=(tmpRadio+1)*(tmpRadio+1); + double radio2=(tmpRadio+0.33)*(tmpRadio+0.33); if ( (mimage==NULL) || (mReferencePoint.size()!=3) ) { printf("WidgetShowNPoints::IdInsidePoint image not set or ReferencePoint not set\n"); -- 2.47.1