Dear Luca,

I am using the vmtksurfacedistance to check whether a point is inside or 
outside a closed manifold surface. 
Points inside and points outside are generally correct but sometimes I get a 
wrong sign.
By looking at the wrong points it seems that a wrong sign is assigned when the 
closest surface point (on the distancevectorsarray) 
is too close to a surface node or a surface edge.
1) The distancevectorsarray is correct. So, is it possible that during the DOT 
product, the normal is not well defined if the point is too close 
to a node or an edge?
2) Is it possible to force vmtksurfacedistance to return the 
distancevectorsarray with the closest surface nodes (cartesian distance) 
instead of closest surface points? In this way, one could calculate the dot 
product outside vmtksurfacedistance.

Kind regards
Gianluca 
                                          
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
vmtk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to