home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!gumby!wupost!usc!rpi!bohn
- From: bohn@ptolemy2.rdrc.rpi.edu (Jan Helge B°hn)
- Subject: Point inside a triangle
- Message-ID: <7bv1svg@rpi.edu>
- Nntp-Posting-Host: ptolemy2.rdrc.rpi.edu
- Reply-To: bohn@rdrc.rpi.edu
- Organization: Rensselaer Polytechnic Institute, Troy NY
- Date: Sun, 15 Nov 1992 23:01:12 GMT
- Lines: 11
-
-
- Does anyone have any suggestions on how to check if a point is located
- inside a triangle, accurately and fast.
-
- One method would be to check if the point is on the "left" side of each
- edge in the triangle (counter-clockwise orientation on the plane).
- Unfortunately, this requires relatively expensive cross-product etc. if
- accuracy is to be ensured.
-
- -Jan Helge B°hn
- bohn@rdrc.rpi.edu
-