home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / graphics / 11799 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  2.8 KB

  1. Path: sparky!uunet!usna!dfr
  2. From: dfr@usna.navy.mil (PROF D. Rogers (EAS FAC))
  3. Newsgroups: comp.graphics
  4. Subject: Re: polyhedron/polyhedron intersection
  5. Keywords: 3d graphics, intersection
  6. Message-ID: <2379@usna.NAVY.MIL>
  7. Date: 12 Nov 92 15:59:12 GMT
  8. References: <1992Nov11.135107.27052@sophia.smith.edu> <2372@usna.NAVY.MIL> <56098@dime.cs.umass.edu>
  9. Sender: news@usna.NAVY.MIL
  10. Organization: U. S. Naval Academy
  11. Lines: 54
  12.  
  13. In article <56098@dime.cs.umass.edu> orourke@unix1.cs.umass.edu (Joseph O'Rourke) writes:
  14. !In article <2372@usna.NAVY.MIL! dfr@usna.navy.mil (PROF D. Rogers (EAS FAC)) writes:
  15. !!In article <1992Nov11.135107.27052@sophia.smith.edu! orourke@sophia.smith.edu (Joseph O'Rourke) writes:
  16. !!!In article <1992Nov11.002123.27579@kpc.com! hollasch@kpc.com (Steve Hollasch) writes:
  17. !!!!    ... Trivial Reject ...  Trivial Accept ...
  18. !!!!    If neither of these tests succeed, then you must test each vertex of P
  19. !!!!to see if it lies within Q, and then you have to test each vertex of Q to
  20. !!!!determine if it lies within P.
  21. !!!
  22. !!!    These tests are not sufficient to detect intersection, as two
  23. !!!polyhedra may intersect without any vertex of one being inside the other.
  24. !!
  25. !!An example might help--either you or Ken Sloan.
  26. !
  27. !Zeroth, neither Ken nor I are examples :-).
  28.  
  29. You and Ken are both certainly examples of SOMETHING :-}=
  30. (the curly and = are for the old wrinkled ones with beards :-}= )
  31.  
  32. !
  33. !First, the "Trivial Accept" test does not even work for convex
  34. !polygons in the plane.  For he defined it in terms of minimum distance
  35. !from an interior point to a vertex:
  36. !
  37. !    "Then let Prmin & Qrmin be the minimum distance from the 
  38. !    center[s] to any of the vertices of the polyhedra, ...
  39. !    Trivial Accept:  |Pc - Qc| < (Prmin + Qrmin)"
  40. !
  41. !Let P & Q be squares, Pc & Qc their centroids.  Prmin & Qrmin are
  42. !radii of circumscribing circles.  The "Trivial Accept" condition
  43. !tests for the intersection of these circles, which clearly does
  44. !not imply the intersection of the squares.
  45. !
  46. !Second, Pc and Qc are arbitrary: "let Pc and Qc be ...  arbitrary 
  47. !'center[s]' of the polyhedr[a]."  If Pc is very close to a vertex
  48. !of P, them Prmin is a fairly meaningless quantity.  Let P & Q be
  49. !triangles, and choose Pc & Qc to be close to a vertex of each.
  50. !Then the circles defined by Prmin and Qrmin are tiny, and it is
  51. !easy to arrange the "Trivial Accept" rule to fail without any
  52. !vertex of one triangle falling inside the other, and yet the
  53. !triangles can intersect.  I'd prefer not to draw this in ascii.
  54. !If you need an explicit example, draw these two triangles:
  55. !
  56. !    (0,0) (1,0) (0,10)
  57. !    (-1,0) (1,10) (2,10)
  58. !
  59. !Note that the failure of these ideas has nothing to do with
  60. !nonconvexity or three-dimensionality, as some have suggested.
  61.  
  62. I didn't need and example but rather thought the net did.
  63. Thanks for providing same.
  64.  
  65. Dave Rogers
  66.  
  67.