<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, I posted a message during christmas 
holidays</FONT></DIV>
<DIV><FONT face=Arial size=2>about a vtkCellLocator bug </FONT><FONT face=Arial 
size=2>but didn't receive any</FONT></DIV>
<DIV><FONT face=Arial size=2>answer (well everybody got the right to 
</FONT></DIV>
<DIV><FONT face=Arial size=2>take some holidays, right).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I post it again : </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I can send a code snip if needed (see also mailing 
list archive)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am using vtkCellLocator, and 
specifically</FONT></DIV>
<DIV><FONT face=Arial size=2>IntersectWithLine() method, to retrieve height of a 
</FONT></DIV>
<DIV><FONT face=Arial size=2>surface from an (x,y) couple : I send a 
Line</FONT></DIV>
<DIV><FONT face=Arial size=2>from -FLT_MAX (in c++) to +FLT_MAX for 
(x,y)</FONT></DIV>
<DIV><FONT face=Arial size=2>couple and retrieve&nbsp;z of resulting 
intersection point.</FONT></DIV>
<DIV><FONT face=Arial size=2>This gives sometimes 
good&nbsp;results,</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;but also sometimes bad ones.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>You can see on the picture that mi elevatino model 
is regularly</FONT></DIV>
<DIV><FONT face=Arial size=2>triangulated (DEM_data), but the polygon_data 
mapped on it</FONT></DIV>
<DIV><FONT face=Arial size=2>gets some wierd up and down effects, because of 6 
or 7 points </FONT></DIV>
<DIV><FONT face=Arial size=2>which height has been badly retrieved (always &gt; 
than real height).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>You don't see it here but other points map 
perfectly the</FONT></DIV>
<DIV><FONT face=Arial size=2>DEM.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you to help me fix this, I think it would be 
very valuable</FONT></DIV>
<DIV><FONT face=Arial size=2>to correct such&nbsp;a bug.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sebastien MARAUX</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>