[Insight-users] IsInside test TubeSpatialObject

Julien Jomier julien.jomier at kitware.com
Tue Jul 18 05:10:19 EDT 2006


Hi Jerome,

I think you are right. The test for negative Lambda is incorrect for a 
flat end-type.
I've CC Dan Mueller who reported the bug for negative lambda. He might 
have some suggestions on this topic. Dan, if you agree that if lambda is 
negative we should skip the pair of points, I will commit a fix.

Thanks for looking into this,

Julien

SCHMID, Jerome wrote:
> Hi All,
> 
>  
> 
> I have a pb to understand the lambda condition being negative in the 
> IsInside( point ) of TubeSpatialObject.
> 
>  
> 
> To me if lambda is negative, the current 2 consecutive points used for 
> the test are not relevant, we should skip them and look for the next 
> pair. Lambda negative means that the point is not inside the space 
> within the two « normal disc » of the two points, so why do some test ?
> 
> I really cannot understand the test done on negative lambda. A bug on 
> the bug tracker dealing with negative lambda was corrected suggesting 
> that this lambda <0 test was genuine….
> 
>  
> 
> Can somebody provide me a very simple figure where this test is 
> relevant? An mhd file with a point to test would be okay.
> 
>  
> 
> Thanks !
> 
>  
> 
> /Best Regards,/
> 
> / /
> 
> /Jerome Schmid/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list