RSL_copy_...


Synopsis

#include "rsl.h"
Ray *RSL_copy_ray(Ray *r);
Sweep *RSL_copy_sweep(Sweep *s);
Volume *RSL_copy_volume(Volume *v);


Description

RSL_copy_volume calls RSL_copy_sweep for the number of sweeps. RSL_copy_sweep calls RSL_copy_ray for the number of rays. And RSL_copy_ray copies the array of Range of size nbins. All header information is preserved. This may or may not be a desired capability.

Return value

Upon successful completion, a pointer to the appropriate structure is returned.

See also

RSL_free_volume, RSL_free_sweep, RSL_free_ray

Author: John H. Merritt