]> Pileus Git - ~andy/rsl/blob - doc/RSL_free.html
RSL v1.44
[~andy/rsl] / doc / RSL_free.html
1 <head>
2 </head>
3
4 <body>
5 <a HREF="index.html"> <IMG SRC="rsl.gif"> </a>
6 <hr>
7
8
9 <h1>RSL_free_...</h1>
10
11 <hr>
12
13 <h3>Synopsis</h3>
14 <b>#include &quot;rsl.h&quot;</b> <br>
15 <b>void RSL_free_ray(<a href=RSL_ray_struct.html>Ray</a> *r);<br>
16 void RSL_free_sweep(<a href=RSL_sweep_struct.html>Sweep</a> *s);<br>
17 void RSL_free_volume(<a href=RSL_volume_struct.html>Volume</a> *v);</b> 
18
19 <h3>
20 <hr>Description</h3>
21 <b>RSL_free_volume</b> calls <b>RSL_free_sweep</b> for the number of sweeps, then frees the array of <b>Sweep</b> pointers, then frees itself. <b>RSL_free_sweep</b> calls <b>RSL_free_ray</b> for the number of rays, then frees the array of <b>Ray</b> pointers, then frees itself. Finally, <b>RSL_free_ray</b> frees the array of <b>Range</b>, then frees itself. Checks are made that non NULL pointers are freed. 
22 <hr>
23
24 <h3>Return value</h3>
25 None. 
26 <hr>
27
28 <h3>See also</h3>
29 <a href=RSL_clear.html>RSL_clear_volume</a>, <a href=RSL_clear.html>RSL_clear_sweep</a>, <a href=RSL_clear.html>RSL_clear_ray</a>. 
30 <hr>
31
32 <p>Author: <a href=john.merritt.html>John H. Merritt</a> 
33 </body>