<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi everybody,<br></div>I am using vtkBoxWidget, and I use Points to control it size. <br></div>I defined a public function vtkPoints * GetPoints(){return Points;}to access this protected member.<br></div>For example, when my vtkBoxWidget is defined by<br>{-1,0,0,<br>1,0,0,<br>1,0,1,<br>-1,0,1,<br><br>-1,1,0,<br>1,1,0,<br>1,1,1,<br>-1,1,1}<br><br></div>with one face under 0 and the opposite over 0 in x-axis,<br></div>I do:<br></div>vtkPoints* pts=GetPoints();<br></div>double a[3],b[3];<br></div>pts->GetPoint(0,a); //face under 0<br></div>pts->GetPoint(2,b); //face over 0<br><br></div>In debug mode, a[0]= -1  and b[0]= 1 as it is supposed to be,<br></div>In release mode, a[0]= 1 and b[0]= 1 so I can not check the size of the box.<br><br></div>I didn't change anything between both tests, if anyone has any idea it would be grateful :)<br><br></div>Thank you for reading,<br></div>Amélie<br><div><div><br></div></div></div>