Triangle Intersection Tests
By Eric Haines and Tomas Moller, August 01, 2000
Source Code Accompanies This Article. Download It Now.
Our authors provide an alternative to the classic methods of testing whether a point is inside a triangle. This new technique is based on barycentric coordinates.
Aug00: Triangle Intersection Tests
Mw=(-d p<sub>1</sub>-p<sub>0</sub> p<sub>2</sub>-p<sub>0</sub>) w=o-p<sub>0</sub>
<img src="http://twimgs.com/ddj/ddj/images/ddj0008b/iff14.gif" width="17" height="9">
w=M<sup>-1</sup>(o-p<sub>0</sub>)
<h4>Example 2: Translating the triangle vertices.</h4>