home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!spool.mu.edu!darwin.sura.net!nntp.msstate.edu!willis1.cis.uab.edu!sloan
- From: sloan@cis.uab.edu (Kenneth Sloan)
- Subject: Re: Point inside a triangle
- Message-ID: <1992Nov16.044358.6009@cis.uab.edu>
- Organization: CIS, University of Alabama at Birmingham
- References: <7bv1svg@rpi.edu> <PINKAS.92Nov15155005@skywalker.intel.com> <1992Nov16.013915.18762@sophia.smith.edu>
- Date: Mon, 16 Nov 1992 04:43:58 GMT
- Lines: 21
-
- In article <1992Nov16.013915.18762@sophia.smith.edu> orourke@sophia.smith.edu (Joseph O'Rourke) writes:
- >...
- > I don't think the problem can be solved without multiplying
- >coordinates of points. It seems the simplest algorithm to understand
- >simply requires x to be left of the directed lines through
- >ab, bc, and ca, which is exactly what you are doing with your area
- >calculations.
-
- All true. But (if Joe and I ever agree completely, then one of us will
- have become redundant) ... the most useful, general purpose, etc. ...
- thing to do is to use these calculations to compute the barycentric
- coordinates of the point with respect to the triangle. In the long run,
- it's no more expensive than any other method which actually works, and
- it provides lots more useful information.
-
-
- --
- Kenneth Sloan Computer and Information Sciences
- sloan@cis.uab.edu University of Alabama at Birmingham
- (205) 934-2213 115A Campbell Hall, UAB Station
- (205) 934-5473 FAX Birmingham, AL 35294-1170
-