Database
tri_test.rtf
Associated article: Triangle Intersection Tests
Tags: Database Design
Published pseudocode accompanying the article by Eric Haines and Tomas Moller in which they provide an alternative to the classic methods of testing whether or not a point is inside a triangle. This new technique is based on "barycentric coordinates." This file is in Rich Text Format (RTF) due to math notation in the pseudocode. Also see TRI_TEST.ZIP.
stream_source_info myfile stream_content_type application/rtf stream_size 10733 Author Jon Erickson stream_name tri_test.rtf Content-Type application/rtf 2 Large Triangle Intersection Tests by Eric Haines and Tomas Moller Example 1: bool PointInTriangle i, p0, p1, p2) returns ({...


