Figure 3: Testing for point inclusion in a triangle