<div dir="ltr"><div><div>check pdmtl abstractions too.<br></div>they contain that and a lot more .<br><br></div>check gems.* patches <br><div><div><br><a href="https://github.com/aalex/pdmtl">https://github.com/aalex/pdmtl</a><br>
</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/6 tim vets <span dir="ltr">&lt;<a href="mailto:timvets@gmail.com" target="_blank">timvets@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">[list-dotprod] from list-abs might come in handy</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/6 Claude Heiland-Allen <span dir="ltr">&lt;<a href="mailto:claude@mathr.co.uk" target="_blank">claude@mathr.co.uk</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 05/12/13 23:40, Joćo Pais wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello list,<br>
<br>
I had a doubt, will try to explain.<br>
<br>
I wanted to define a line in a 3d space through 2 points, and be able to<br>
find out the distance from another point to that line. Since I&#39;m very<br>
bad at math, I wanted to know if anyone has done something similar, or<br>
knows how to get to it.<br>
</blockquote>
<br>
</div><a href="http://paulbourke.net/geometry/pointlineplane/" target="_blank">http://paulbourke.net/<u></u>geometry/pointlineplane/</a><br>
<br>
first example on the page, you just need to clamp u to [0..1] if you want to make it work for a line segment instead of an infinite line.<br>
<br>
<br>
Claude<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As I see it, the process goes this way:<br>
- define a line from coordinates x1,y1,z1 to x2,y2,z2<br>
- declare the point x3,y3,z3<br>
- find the distance from that point to the nearest point belonging to<br>
the said line<br>
<br>
<br>
Any existing examples with gem rendering would be great.<br>
<br>
Thanks as usual,<br>
<br>
jmmmp<br>
</blockquote>
<br></div><span><font color="#888888">
-- <br>
<a href="http://mathr.co.uk" target="_blank">http://mathr.co.uk</a></font></span><div><div><br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>