<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 28, 2015 at 5:36 AM, Mathieu Westphal <span dir="ltr"><<a href="mailto:mathieu.westphal@kitware.com" target="_blank">mathieu.westphal@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">i've encountered some pcoords[0] = -10 ( really old code, 1994 ), is it relevant in any way ?</blockquote></div><br>Here's my guess:</div><div class="gmail_extra"><br></div><div class="gmail_extra">Often in finite element (or some parameterized) formulations the parameter t is assumed to lie in the range (-1<=t<=1). It could be that when this code was first written that was the assumption; only later did we adjust the parameterization to (0,1). If this was the case, then "marking" the point to lie outside the parameter range then a value < -1 was used (i.e., -10). I'm not sure why you feel that you have to change this to -1 since the number is arbitrary....</div><div class="gmail_extra"><br></div><div class="gmail_extra">W<br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com" target="_blank">will.schroeder@kitware.com</a><br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>(518) 881-4902</div>
</div></div>