POV-Ray : Newsgroups : povray.advanced-users : Test if point in triangle : Re: Test if point in triangle Server Time
4 May 2024 03:55:16 EDT (-0400)
  Re: Test if point in triangle  
From: Mike Horvath
Date: 12 Feb 2016 14:30:40
Message: <56be32e0$1@news.povray.org>
On 2/12/2016 2:09 PM, Mike Horvath wrote:
> Can anyone tell me of a simple formula to test whether a 2D point is
> inside a triangle? It is a right triangle with two equal sides. Thanks.
>
>
> Mike

Never mind. I figured if X + Y < 1, then the point is inside the triangle.


Mike


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.