home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / rayshade / Doc / Guide / objects.tex / node4_ct.html / node4_ct_ct.html < prev    next >
LaTeX Document  |  1994-08-02  |  4.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 6e 6f | 64 65 34 5f 63 74 3c 2f |ts of no|de4_ct</|
|000000b0| 54 49 54 4c 45 3e 0a 0a | 3c 4d 45 54 41 20 48 54 |TITLE>..|<META HT|
|000000c0| 54 50 2d 45 51 55 49 56 | 3d 22 43 6f 6e 74 65 6e |TP-EQUIV|="Conten|
|000000d0| 74 2d 54 79 70 65 22 20 | 43 4f 4e 54 45 4e 54 3d |t-Type" |CONTENT=|
|000000e0| 22 74 65 78 74 2f 68 74 | 6d 6c 3b 20 63 68 61 72 |"text/ht|ml; char|
|000000f0| 73 65 74 3d 75 74 66 2d | 38 22 3e 0a 3c 4d 45 54 |set=utf-|8">.<MET|
|00000100| 41 20 4e 41 4d 45 3d 22 | 76 69 65 77 70 6f 72 74 |A NAME="|viewport|
|00000110| 22 20 43 4f 4e 54 45 4e | 54 3d 22 77 69 64 74 68 |" CONTEN|T="width|
|00000120| 3d 64 65 76 69 63 65 2d | 77 69 64 74 68 2c 20 69 |=device-|width, i|
|00000130| 6e 69 74 69 61 6c 2d 73 | 63 61 6c 65 3d 31 2e 30 |nitial-s|cale=1.0|
|00000140| 22 3e 0a 3c 4d 45 54 41 | 20 4e 41 4d 45 3d 22 47 |">.<META| NAME="G|
|00000150| 65 6e 65 72 61 74 6f 72 | 22 20 43 4f 4e 54 45 4e |enerator|" CONTEN|
|00000160| 54 3d 22 4c 61 54 65 58 | 32 48 54 4d 4c 20 76 32 |T="LaTeX|2HTML v2|
|00000170| 30 32 32 22 3e 0a 0a 3c | 4c 49 4e 4b 20 52 45 4c |022">..<|LINK REL|
|00000180| 3d 22 53 54 59 4c 45 53 | 48 45 45 54 22 20 48 52 |="STYLES|HEET" HR|
|00000190| 45 46 3d 22 6e 6f 64 65 | 34 5f 63 74 2e 63 73 73 |EF="node|4_ct.css|
|000001a0| 22 3e 0a 0a 3c 2f 48 45 | 41 44 3e 0a 20 0a 3c 42 |">..</HE|AD>. .<B|
|000001b0| 4f 44 59 20 62 67 63 6f | 6c 6f 72 3d 22 23 66 66 |ODY bgco|lor="#ff|
|000001c0| 66 66 66 66 22 20 74 65 | 78 74 3d 22 23 30 30 30 |ffff" te|xt="#000|
|000001d0| 30 30 30 22 20 6c 69 6e | 6b 3d 22 23 39 39 34 34 |000" lin|k="#9944|
|000001e0| 45 45 22 20 76 6c 69 6e | 6b 3d 22 23 30 30 30 30 |EE" vlin|k="#0000|
|000001f0| 66 66 22 20 61 6c 69 6e | 6b 3d 22 23 30 30 66 66 |ff" alin|k="#00ff|
|00000200| 30 30 22 3e 0a 0a 26 6c | 74 3b 21 44 4f 43 54 59 |00">..&l|t;!DOCTY|
|00000210| 50 45 20 48 54 4d 4c 20 | 50 55 42 4c 49 43 20 22 |PE HTML |PUBLIC "|
|00000220| 2d 2f 2f 57 33 43 2f 2f | 44 54 44 20 48 54 4d 4c |-//W3C//|DTD HTML|
|00000230| 20 33 2e 32 20 46 69 6e | 61 6c 2f 2f 65 6e 22 26 | 3.2 Fin|al//en"&|
|00000240| 67 74 3b 0a 0a 3c 50 3e | 0a 26 6c 74 3b 21 26 6e |gt;..<P>|.&lt;!&n|
|00000250| 64 61 73 68 3b 43 6f 6e | 76 65 72 74 65 64 20 77 |dash;Con|verted w|
|00000260| 69 74 68 20 4c 61 54 65 | 58 32 48 54 4d 4c 20 32 |ith LaTe|X2HTML 2|
|00000270| 30 32 32 20 28 52 65 6c | 65 61 73 65 64 20 4a 61 |022 (Rel|eased Ja|
|00000280| 6e 75 61 72 79 20 31 2c | 20 32 30 32 32 29 20 26 |nuary 1,| 2022) &|
|00000290| 6e 64 61 73 68 3b 26 67 | 74 3b 0a 26 6c 74 3b 48 |ndash;&g|t;.&lt;H|
|000002a0| 54 4d 4c 20 6c 61 6e 67 | 3d 22 65 6e 22 26 67 74 |TML lang|="en"&gt|
|000002b0| 3b 0a 26 6c 74 3b 48 45 | 41 44 26 67 74 3b 0a 26 |;.&lt;HE|AD&gt;.&|
|000002c0| 6c 74 3b 54 49 54 4c 45 | 26 67 74 3b 43 6f 6e 74 |lt;TITLE|&gt;Cont|
|000002d0| 65 6e 74 73 20 6f 66 20 | 41 67 67 72 65 67 61 74 |ents of |Aggregat|
|000002e0| 65 20 4f 62 6a 65 63 74 | 73 26 6c 74 3b 2f 54 49 |e Object|s&lt;/TI|
|000002f0| 54 4c 45 26 67 74 3b 0a | 0a 3c 50 3e 0a 26 6c 74 |TLE&gt;.|.<P>.&lt|
|00000300| 3b 4d 45 54 41 20 48 54 | 54 50 2d 45 51 55 49 56 |;META HT|TP-EQUIV|
|00000310| 3d 22 43 6f 6e 74 65 6e | 74 2d 54 79 70 65 22 20 |="Conten|t-Type" |
|00000320| 43 4f 4e 54 45 4e 54 3d | 22 74 65 78 74 2f 68 74 |CONTENT=|"text/ht|
|00000330| 6d 6c 3b 20 63 68 61 72 | 73 65 74 3d 75 74 66 2d |ml; char|set=utf-|
|00000340| 38 22 26 67 74 3b 0a 26 | 6c 74 3b 4d 45 54 41 20 |8"&gt;.&|lt;META |
|00000350| 4e 41 4d 45 3d 22 76 69 | 65 77 70 6f 72 74 22 20 |NAME="vi|ewport" |
|00000360| 43 4f 4e 54 45 4e 54 3d | 22 77 69 64 74 68 3d 64 |CONTENT=|"width=d|
|00000370| 65 76 69 63 65 2d 77 69 | 64 74 68 2c 20 69 6e 69 |evice-wi|dth, ini|
|00000380| 74 69 61 6c 2d 73 63 61 | 6c 65 3d 31 2e 30 22 26 |tial-sca|le=1.0"&|
|00000390| 67 74 3b 0a 26 6c 74 3b | 4d 45 54 41 20 4e 41 4d |gt;.&lt;|META NAM|
|000003a0| 45 3d 22 47 65 6e 65 72 | 61 74 6f 72 22 20 43 4f |E="Gener|ator" CO|
|000003b0| 4e 54 45 4e 54 3d 22 4c | 61 54 65 58 32 48 54 4d |NTENT="L|aTeX2HTM|
|000003c0| 4c 20 76 32 30 32 32 22 | 26 67 74 3b 0a 0a 3c 50 |L v2022"|&gt;..<P|
|000003d0| 3e 0a 26 6c 74 3b 4c 49 | 4e 4b 20 52 45 4c 3d 22 |>.&lt;LI|NK REL="|
|000003e0| 53 54 59 4c 45 53 48 45 | 45 54 22 20 48 52 45 46 |STYLESHE|ET" HREF|
|000003f0| 3d 22 6f 62 6a 65 63 74 | 73 2e 63 73 73 22 26 67 |="object|s.css"&g|
|00000400| 74 3b 0a 0a 3c 50 3e 0a | 26 6c 74 3b 4c 49 4e 4b |t;..<P>.|&lt;LINK|
|00000410| 20 52 45 4c 3d 22 6e 65 | 78 74 22 20 48 52 45 46 | REL="ne|xt" HREF|
|00000420| 3d 22 6e 6f 64 65 35 5f | 6d 6e 2e 68 74 6d 6c 22 |="node5_|mn.html"|
|00000430| 26 67 74 3b 0a 26 6c 74 | 3b 4c 49 4e 4b 20 52 45 |&gt;.&lt|;LINK RE|
|00000440| 4c 3d 22 70 72 65 76 69 | 6f 75 73 22 20 48 52 45 |L="previ|ous" HRE|
|00000450| 46 3d 22 6e 6f 64 65 33 | 5f 6d 6e 2e 68 74 6d 6c |F="node3|_mn.html|
|00000460| 22 26 67 74 3b 0a 26 6c | 74 3b 4c 49 4e 4b 20 52 |"&gt;.&l|t;LINK R|
|00000470| 45 4c 3d 22 75 70 22 20 | 48 52 45 46 3d 22 6e 6f |EL="up" |HREF="no|
|00000480| 64 65 31 5f 6d 6e 2e 68 | 74 6d 6c 22 26 67 74 3b |de1_mn.h|tml"&gt;|
|00000490| 0a 26 6c 74 3b 4c 49 4e | 4b 20 52 45 4c 3d 22 6e |.&lt;LIN|K REL="n|
|000004a0| 65 78 74 22 20 48 52 45 | 46 3d 22 6e 6f 64 65 35 |ext" HRE|F="node5|
|000004b0| 5f 6d 6e 2e 68 74 6d 6c | 22 26 67 74 3b 0a 26 6c |_mn.html|"&gt;.&l|
|000004c0| 74 3b 2f 48 45 41 44 26 | 67 74 3b 0a 0a 3c 50 3e |t;/HEAD&|gt;..<P>|
|000004d0| 0a 26 6c 74 3b 42 4f 44 | 59 20 62 67 63 6f 6c 6f |.&lt;BOD|Y bgcolo|
|000004e0| 72 3d 22 23 66 66 66 66 | 66 66 22 20 74 65 78 74 |r="#ffff|ff" text|
|000004f0| 3d 22 23 30 30 30 30 30 | 30 22 20 6c 69 6e 6b 3d |="#00000|0" link=|
|00000500| 22 23 39 39 34 34 45 45 | 22 20 76 6c 69 6e 6b 3d |"#9944EE|" vlink=|
|00000510| 22 23 30 30 30 30 66 66 | 22 20 61 6c 69 6e 6b 3d |"#0000ff|" alink=|
|00000520| 22 23 30 30 66 66 30 30 | 22 26 67 74 3b 0a 0a 3c |"#00ff00|"&gt;..<|
|00000530| 50 3e 0a 26 6c 74 3b 48 | 31 26 67 74 3b 26 6c 74 |P>.&lt;H|1&gt;&lt|
|00000540| 3b 41 20 49 44 3d 22 53 | 45 43 54 49 4f 4e 30 30 |;A ID="S|ECTION00|
|00000550| 31 33 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |13000000|00000000|
|00000560| 30 30 22 26 67 74 3b 0a | 41 67 67 72 65 67 61 74 |00"&gt;.|Aggregat|
|00000570| 65 20 4f 62 6a 65 63 74 | 73 26 6c 74 3b 2f 41 26 |e Object|s&lt;/A&|
|00000580| 67 74 3b 0a 26 6c 74 3b | 2f 48 31 26 67 74 3b 0a |gt;.&lt;|/H1&gt;.|
|00000590| 0a 3c 50 3e 0a 26 6c 74 | 3b 50 26 67 74 3b 0a 41 |.<P>.&lt|;P&gt;.A|
|000005a0| 6e 20 61 67 67 72 65 67 | 61 74 65 20 69 73 20 61 |n aggreg|ate is a|
|000005b0| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 6f 66 20 70 | collect|ion of p|
|000005c0| 72 69 6d 69 74 69 76 65 | 73 2c 20 61 67 67 72 65 |rimitive|s, aggre|
|000005d0| 67 61 74 65 2c 20 61 6e | 64 20 43 53 47 0a 6f 62 |gate, an|d CSG.ob|
|000005e0| 6a 65 63 74 73 2e 20 20 | 41 6e 20 61 67 67 72 65 |jects. |An aggre|
|000005f0| 67 61 74 65 2c 20 6f 6e | 63 65 20 64 65 66 69 6e |gate, on|ce defin|
|00000600| 65 64 2c 20 6d 61 79 20 | 62 65 20 69 6e 73 74 61 |ed, may |be insta|
|00000610| 6e 74 69 61 74 65 64 20 | 61 74 20 77 69 6c 6c 2c |ntiated |at will,|
|00000620| 0a 77 68 69 63 68 20 6d | 65 61 6e 73 20 74 68 61 |.which m|eans tha|
|00000630| 74 0a 63 6f 70 69 65 73 | 20 74 68 61 74 20 61 72 |t.copies| that ar|
|00000640| 65 20 6f 70 74 69 6f 6e | 61 6c 6c 79 20 74 72 61 |e option|ally tra|
|00000650| 6e 73 66 6f 72 6d 65 64 | 20 61 6e 64 20 74 65 78 |nsformed| and tex|
|00000660| 74 75 72 65 64 20 6d 61 | 79 20 62 65 20 6d 61 64 |tured ma|y be mad|
|00000670| 65 2e 0a 49 66 20 61 20 | 73 63 65 6e 65 20 63 61 |e..If a |scene ca|
|00000680| 6c 6c 73 20 66 6f 72 20 | 74 68 65 20 70 72 65 73 |lls for |the pres|
|00000690| 65 6e 63 65 20 6f 66 20 | 6d 61 6e 79 20 67 65 6f |ence of |many geo|
|000006a0| 6d 65 74 72 69 63 61 6c | 6c 79 20 69 64 65 6e 74 |metrical|ly ident|
|000006b0| 69 63 61 6c 0a 6f 62 6a | 65 63 74 73 2c 20 6f 6e |ical.obj|ects, on|
|000006c0| 6c 79 20 6f 6e 65 20 73 | 75 63 68 20 6f 62 6a 65 |ly one s|uch obje|
|000006d0| 63 74 20 6e 65 65 64 20 | 62 65 20 64 65 66 69 6e |ct need |be defin|
|000006e0| 65 64 3b 20 74 68 65 20 | 6f 6e 65 20 64 65 66 69 |ed; the |one defi|
|000006f0| 6e 65 64 20 6f 62 6a 65 | 63 74 0a 6d 61 79 20 74 |ned obje|ct.may t|
|00000700| 68 65 6e 20 62 65 20 69 | 6e 73 74 61 6e 74 69 61 |hen be i|nstantia|
|00000710| 74 65 64 20 6d 61 6e 79 | 20 74 69 6d 65 73 2e 0a |ted many| times..|
|00000720| 0a 3c 50 3e 0a 26 6c 74 | 3b 50 26 67 74 3b 0a 41 |.<P>.&lt|;P&gt;.A|
|00000730| 6e 20 61 67 67 72 65 67 | 61 74 65 20 69 73 20 6f |n aggreg|ate is o|
|00000740| 6e 65 20 6f 66 20 73 65 | 76 65 72 61 6c 20 70 6f |ne of se|veral po|
|00000750| 73 73 69 62 6c 65 20 74 | 79 70 65 73 2e 20 20 54 |ssible t|ypes. T|
|00000760| 68 65 73 65 20 61 67 67 | 72 65 67 61 74 65 20 74 |hese agg|regate t|
|00000770| 79 70 65 73 0a 61 72 65 | 20 64 69 66 66 65 72 65 |ypes.are| differe|
|00000780| 6e 74 69 61 74 65 64 20 | 62 79 20 74 68 65 20 74 |ntiated |by the t|
|00000790| 79 70 65 20 6f 66 20 72 | 61 79 2f 61 67 67 72 65 |ype of r|ay/aggre|
|000007a0| 67 61 74 65 20 69 6e 74 | 65 72 73 65 63 74 69 6f |gate int|ersectio|
|000007b0| 6e 20 61 6c 67 6f 72 69 | 74 68 6d 0a 28 6f 66 74 |n algori|thm.(oft|
|000007c0| 65 6e 20 74 65 72 6d 65 | 64 20 61 6e 20 26 6c 74 |en terme|d an &lt|
|000007d0| 3b 45 4d 26 67 74 3b 61 | 63 63 65 6c 65 72 61 74 |;EM&gt;a|ccelerat|
|000007e0| 69 6f 6e 20 74 65 63 68 | 6e 69 71 75 65 26 6c 74 |ion tech|nique&lt|
|000007f0| 3b 2f 45 4d 26 67 74 3b | 20 6f 72 20 26 6c 74 3b |;/EM&gt;| or &lt;|
|00000800| 45 4d 26 67 74 3b 65 66 | 66 69 63 69 65 6e 63 79 |EM&gt;ef|ficiency|
|00000810| 20 73 63 68 65 6d 65 26 | 6c 74 3b 2f 45 4d 26 67 | scheme&|lt;/EM&g|
|00000820| 74 3b 29 0a 74 68 61 74 | 20 69 73 20 75 73 65 64 |t;).that| is used|
|00000830| 2e 0a 0a 3c 50 3e 0a 26 | 6c 74 3b 50 26 67 74 3b |...<P>.&|lt;P&gt;|
|00000840| 0a 41 67 67 72 65 67 61 | 74 65 73 20 61 72 65 20 |.Aggrega|tes are |
|00000850| 64 65 66 69 6e 65 64 20 | 62 79 20 67 69 76 69 6e |defined |by givin|
|00000860| 67 20 61 20 6b 65 79 77 | 6f 72 64 20 74 68 61 74 |g a keyw|ord that|
|00000870| 20 64 65 66 69 6e 65 73 | 20 74 68 65 0a 74 79 70 | defines| the.typ|
|00000880| 65 20 6f 66 20 74 68 65 | 20 61 67 67 72 65 67 61 |e of the| aggrega|
|00000890| 74 65 2c 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 0a |te, foll|owed by.|
|000008a0| 61 20 73 65 72 69 65 73 | 20 6f 66 20 6f 62 6a 65 |a series| of obje|
|000008b0| 63 74 20 69 6e 73 74 61 | 6e 74 69 61 74 69 6f 6e |ct insta|ntiation|
|000008c0| 73 20 61 6e 64 0a 73 75 | 72 66 61 63 65 20 64 65 |s and.su|rface de|
|000008d0| 66 69 6e 69 74 69 6f 6e | 73 2c 20 61 6e 64 20 74 |finition|s, and t|
|000008e0| 65 72 6d 69 6e 61 74 65 | 64 20 75 73 69 6e 67 20 |erminate|d using |
|000008f0| 74 68 65 20 26 6c 74 3b | 54 54 26 67 74 3b 65 6e |the &lt;|TT&gt;en|
|00000900| 64 26 6c 74 3b 2f 54 54 | 26 67 74 3b 20 6b 65 79 |d&lt;/TT|&gt; key|
|00000910| 77 6f 72 64 2e 0a 49 66 | 20 61 20 64 65 66 69 6e |word..If| a defin|
|00000920| 65 64 20 6f 62 6a 65 63 | 74 20 63 6f 6e 74 61 69 |ed objec|t contai|
|00000930| 6e 73 20 6e 6f 20 69 6e | 73 74 61 6e 74 69 61 74 |ns no in|stantiat|
|00000940| 69 6f 6e 73 2c 20 61 20 | 77 61 72 6e 69 6e 67 20 |ions, a |warning |
|00000950| 6d 65 73 73 61 67 65 0a | 69 73 20 70 72 69 6e 74 |message.|is print|
|00000960| 65 64 2e 0a 0a 3c 50 3e | 0a 26 6c 74 3b 50 26 67 |ed...<P>|.&lt;P&g|
|00000970| 74 3b 0a 54 68 65 20 6d | 6f 73 74 20 62 61 73 69 |t;.The m|ost basi|
|00000980| 63 20 74 79 70 65 20 6f | 66 20 61 67 67 72 65 67 |c type o|f aggreg|
|00000990| 61 74 65 2c 20 74 68 65 | 20 26 6c 74 3b 45 4d 26 |ate, the| &lt;EM&|
|000009a0| 67 74 3b 6c 69 73 74 26 | 6c 74 3b 2f 45 4d 26 67 |gt;list&|lt;/EM&g|
|000009b0| 74 3b 2c 20 70 65 72 66 | 6f 72 6d 73 0a 69 6e 74 |t;, perf|orms.int|
|000009c0| 65 72 73 65 63 74 69 6f | 6e 20 74 65 73 74 69 6e |ersectio|n testin|
|000009d0| 67 20 69 6e 20 74 68 65 | 20 73 69 6d 70 6c 65 73 |g in the| simples|
|000009e0| 74 20 70 6f 73 73 69 62 | 6c 65 20 77 61 79 3a 20 |t possib|le way: |
|000009f0| 20 45 61 63 68 20 6f 62 | 6a 65 63 74 20 69 6e 20 | Each ob|ject in |
|00000a00| 74 68 65 0a 6c 69 73 74 | 20 69 73 20 74 65 73 74 |the.list| is test|
|00000a10| 65 64 20 66 6f 72 20 69 | 6e 74 65 72 73 65 63 74 |ed for i|ntersect|
|00000a20| 69 6f 6e 20 77 69 74 68 | 20 74 68 65 20 72 61 79 |ion with| the ray|
|00000a30| 20 69 6e 20 74 75 72 6e | 2c 20 61 6e 64 20 74 68 | in turn|, and th|
|00000a40| 65 20 63 6c 6f 73 65 73 | 74 0a 69 6e 74 65 72 73 |e closes|t.inters|
|00000a50| 65 63 74 69 6f 6e 20 69 | 73 20 72 65 74 75 72 6e |ection i|s return|
|00000a60| 65 64 2e 0a 0a 3c 50 3e | 0a 26 6c 74 3b 50 26 67 |ed...<P>|.&lt;P&g|
|00000a70| 74 3b 0a 26 6c 74 3b 42 | 52 26 67 74 3b 0a 26 6c |t;.&lt;B|R&gt;.&l|
|00000a80| 74 3b 49 4d 47 0a 20 20 | 53 54 59 4c 45 3d 22 68 |t;IMG. |STYLE="h|
|00000a90| 65 69 67 68 74 3a 20 32 | 2e 31 37 65 78 3b 20 76 |eight: 2|.17ex; v|
|00000aa0| 65 72 74 69 63 61 6c 2d | 61 6c 69 67 6e 3a 20 31 |ertical-|align: 1|
|00000ab0| 37 36 2e 35 35 65 78 3b | 20 22 20 53 52 43 3d 22 |76.55ex;| " SRC="|
|00000ac0| 69 6d 67 31 35 2e 70 6e | 67 22 0a 20 41 4c 54 3d |img15.pn|g". ALT=|
|00000ad0| 22 0a 3c 42 52 3e 0a 3c | 49 4d 47 0a 20 20 53 54 |".<BR>.<|IMG. ST|
|00000ae0| 59 4c 45 3d 22 68 65 69 | 67 68 74 3a 20 31 39 36 |YLE="hei|ght: 196|
|00000af0| 2e 32 35 65 78 3b 20 76 | 65 72 74 69 63 61 6c 2d |.25ex; v|ertical-|
|00000b00| 61 6c 69 67 6e 3a 20 2d | 30 2e 37 30 65 78 3b 20 |align: -|0.70ex; |
|00000b10| 22 20 53 52 43 3d 22 69 | 6d 67 31 2e 70 6e 67 22 |" SRC="i|mg1.png"|
|00000b20| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 64 65 |. ALT="\|begin{de|
|00000b30| 66 6b 65 79 7d 7b 6c 69 | 73 74 7d 7b 5c 6c 64 6f |fkey}{li|st}{\ldo|
|00000b40| 74 73 20 7b 5c 74 74 20 | 65 6e 64 7d 7d 0a 43 72 |ts {\tt |end}}.Cr|
|00000b50| 65 61 74 65 20 61 20 4c | 69 73 74 20 6f 62 6a 65 |eate a L|ist obje|
|00000b60| 63 74 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 74 68 |ct conta|ining th|
|00000b70| 6f 73 65 20 6f 62 6a 65 | 63 74 73 20 69 6e 73 74 |ose obje|cts inst|
|00000b80| 61 6e 74 69 61 74 65 64 | 20 62 65 74 77 65 65 6e |antiated| between|
|00000b90| 0a 74 68 65 20 7b 5c 74 | 74 20 6c 69 73 74 7d 2f |.the {\t|t list}/|
|00000ba0| 7b 5c 74 74 20 65 6e 64 | 7d 20 70 61 69 72 2e 0a |{\tt end|} pair..|
|00000bb0| 5c 65 6e 64 7b 64 65 66 | 6b 65 79 7d 22 3e 0a 3c |\end{def|key}">.<|
|00000bc0| 42 52 3e 22 26 67 74 3b | 0a 26 6c 74 3b 42 52 26 |BR>"&gt;|.&lt;BR&|
|00000bd0| 67 74 3b 0a 0a 3c 50 3e | 0a 26 6c 74 3b 50 26 67 |gt;..<P>|.&lt;P&g|
|00000be0| 74 3b 0a 54 68 65 20 26 | 6c 74 3b 45 4d 26 67 74 |t;.The &|lt;EM&gt|
|00000bf0| 3b 67 72 69 64 26 6c 74 | 3b 2f 45 4d 26 67 74 3b |;grid&lt|;/EM&gt;|
|00000c00| 20 61 67 67 72 65 67 61 | 74 65 0a 64 69 76 69 64 | aggrega|te.divid|
|00000c10| 65 73 20 74 68 65 20 72 | 65 67 69 6f 6e 20 6f 66 |es the r|egion of|
|00000c20| 20 73 70 61 63 65 20 69 | 74 20 6f 63 63 75 70 69 | space i|t occupi|
|00000c30| 65 73 20 69 6e 74 6f 20 | 61 20 6e 75 6d 62 65 72 |es into |a number|
|00000c40| 20 6f 66 20 64 69 73 63 | 72 65 74 65 0a 62 6f 78 | of disc|rete.box|
|00000c50| 2d 73 68 61 70 65 64 0a | 76 6f 78 65 6c 73 2e 20 |-shaped.|voxels. |
|00000c60| 20 45 61 63 68 20 6f 66 | 20 74 68 65 73 65 20 76 | Each of| these v|
|00000c70| 6f 78 65 6c 73 20 63 6f | 6e 74 61 69 6e 73 20 61 |oxels co|ntains a|
|00000c80| 20 6c 69 73 74 20 6f 66 | 20 74 68 65 20 6f 62 6a | list of| the obj|
|00000c90| 65 63 74 73 20 74 68 61 | 74 0a 69 6e 74 65 72 73 |ects tha|t.inters|
|00000ca0| 65 63 74 20 74 68 65 20 | 76 6f 78 65 6c 2e 20 20 |ect the |voxel. |
|00000cb0| 54 68 69 73 20 64 69 73 | 63 72 65 74 69 7a 61 74 |This dis|cretizat|
|00000cc0| 69 6f 6e 20 6d 61 6b 65 | 73 20 69 74 20 70 6f 73 |ion make|s it pos|
|00000cd0| 73 69 62 6c 65 20 74 6f | 0a 72 65 73 74 72 69 63 |sible to|.restric|
|00000ce0| 74 20 74 68 65 20 6f 62 | 6a 65 63 74 73 0a 74 65 |t the ob|jects.te|
|00000cf0| 73 74 65 64 20 66 6f 72 | 20 69 6e 74 65 72 73 65 |sted for| interse|
|00000d00| 63 74 69 6f 6e 20 74 6f | 20 74 68 6f 73 65 20 74 |ction to| those t|
|00000d10| 68 61 74 20 61 72 65 20 | 6c 69 6b 65 6c 79 20 74 |hat are |likely t|
|00000d20| 6f 20 68 69 74 20 74 68 | 65 20 72 61 79 2c 0a 61 |o hit th|e ray,.a|
|00000d30| 6e 64 20 74 6f 20 74 65 | 73 74 0a 74 68 65 20 6f |nd to te|st.the o|
|00000d40| 62 6a 65 63 74 73 20 69 | 6e 20 6e 65 61 72 6c 79 |bjects i|n nearly|
|00000d50| 20 60 60 63 6c 6f 73 65 | 73 74 2d 66 69 72 73 74 | ``close|st-first|
|00000d60| 27 27 20 6f 72 64 65 72 | 2e 0a 0a 3c 50 3e 0a 26 |'' order|...<P>.&|
|00000d70| 6c 74 3b 50 26 67 74 3b | 0a 26 6c 74 3b 42 52 26 |lt;P&gt;|.&lt;BR&|
|00000d80| 67 74 3b 0a 26 6c 74 3b | 49 4d 47 0a 20 20 53 54 |gt;.&lt;|IMG. ST|
|00000d90| 59 4c 45 3d 22 68 65 69 | 67 68 74 3a 20 32 2e 33 |YLE="hei|ght: 2.3|
|00000da0| 38 65 78 3b 20 76 65 72 | 74 69 63 61 6c 2d 61 6c |8ex; ver|tical-al|
|00000db0| 69 67 6e 3a 20 31 37 36 | 2e 32 37 65 78 3b 20 22 |ign: 176|.27ex; "|
|00000dc0| 20 53 52 43 3d 22 69 6d | 67 31 36 2e 70 6e 67 22 | SRC="im|g16.png"|
|00000dd0| 0a 20 41 4c 54 3d 22 0a | 3c 42 52 3e 0a 3c 49 4d |. ALT=".|<BR>.<IM|
|00000de0| 47 0a 20 20 53 54 59 4c | 45 3d 22 68 65 69 67 68 |G. STYL|E="heigh|
|00000df0| 74 3a 20 32 2e 33 38 65 | 78 3b 20 76 65 72 74 69 |t: 2.38e|x; verti|
|00000e00| 63 61 6c 2d 61 6c 69 67 | 6e 3a 20 31 37 36 2e 32 |cal-alig|n: 176.2|
|00000e10| 37 65 78 3b 20 22 20 53 | 52 43 3d 22 69 6d 67 32 |7ex; " S|RC="img2|
|00000e20| 2e 70 6e 67 22 0a 20 41 | 4c 54 3d 22 5c 62 65 67 |.png". A|LT="\beg|
|00000e30| 69 6e 7b 64 65 66 6b 65 | 79 7d 7b 67 72 69 64 7d |in{defke|y}{grid}|
|00000e40| 7b 7b 5c 65 6d 20 78 76 | 6f 78 20 79 76 6f 78 20 |{{\em xv|ox yvox |
|00000e50| 7a 76 6f 78 7d 20 5c 6c | 64 6f 74 73 20 7b 5c 74 |zvox} \l|dots {\t|
|00000e60| 74 20 65 6e 64 7d 7d 0a | 43 72 65 61 74 65 20 61 |t end}}.|Create a|
|00000e70| 20 47 72 69 64 20 6f 62 | 6a 65 63 2e 2e 2e 2e 0a | Grid ob|jec.....|
|00000e80| 2e 2e 2e 2e 20 74 68 6f | 73 65 20 6f 62 6a 65 63 |.... tho|se objec|
|00000e90| 74 73 0a 69 6e 73 74 61 | 6e 74 69 61 74 65 64 20 |ts.insta|ntiated |
|00000ea0| 62 65 74 77 65 65 6e 20 | 74 68 65 20 7b 5c 74 74 |between |the {\tt|
|00000eb0| 20 67 72 69 64 7d 2f 7b | 5c 74 74 20 65 6e 64 7d | grid}/{|\tt end}|
|00000ec0| 20 70 61 69 72 2e 0a 5c | 65 6e 64 7b 64 65 66 6b | pair..\|end{defk|
|00000ed0| 65 79 7d 22 3e 0a 3c 42 | 52 3e 22 26 67 74 3b 0a |ey}">.<B|R>"&gt;.|
|00000ee0| 26 6c 74 3b 42 52 26 67 | 74 3b 0a 49 74 20 69 73 |&lt;BR&g|t;.It is|
|00000ef0| 20 75 73 75 61 6c 6c 79 | 20 6f 6e 6c 79 20 77 6f | usually| only wo|
|00000f00| 72 74 68 77 68 69 6c 65 | 20 74 6f 20 60 60 65 6e |rthwhile| to ``en|
|00000f10| 67 72 69 64 27 27 20 72 | 61 74 68 65 72 20 6c 61 |grid'' r|ather la|
|00000f20| 72 67 65 2c 0a 63 6f 6d | 70 6c 65 78 20 63 6f 6c |rge,.com|plex col|
|00000f30| 6c 65 63 74 69 6f 6e 73 | 20 6f 66 20 6f 62 6a 65 |lections| of obje|
|00000f40| 63 74 73 2e 20 20 47 72 | 69 64 73 20 61 6c 73 6f |cts. Gr|ids also|
|00000f50| 20 75 73 65 20 61 20 67 | 72 65 61 74 20 64 65 61 | use a g|reat dea|
|00000f60| 6c 20 6d 6f 72 65 0a 6d | 65 6d 6f 72 79 20 74 68 |l more.m|emory th|
|00000f70| 61 6e 20 4c 69 73 74 20 | 6f 62 6a 65 63 74 73 2e |an List |objects.|
|00000f80| 0a 0a 3c 50 3e 0a 26 6c | 74 3b 50 26 67 74 3b 0a |..<P>.&l|t;P&gt;.|
|00000f90| 0a 3c 50 3e 0a 26 6c 74 | 3b 48 52 26 67 74 3b 0a |.<P>.&lt|;HR&gt;.|
|00000fa0| 0a 3c 50 3e 0a 26 6c 74 | 3b 2f 42 4f 44 59 26 67 |.<P>.&lt|;/BODY&g|
|00000fb0| 74 3b 0a 26 6c 74 3b 2f | 48 54 4d 4c 26 67 74 3b |t;.&lt;/|HTML&gt;|
|00000fc0| 0a 0a 3c 48 52 3e 0a 0a | 3c 2f 42 4f 44 59 3e 0a |..<HR>..|</BODY>.|
|00000fd0| 3c 2f 48 54 4d 4c 3e 0a | |</HTML>.| |
+--------+-------------------------+-------------------------+--------+--------+