int kgeom_copy_data(
kobject source_object,
kobject destination_object)
This routine will create all the data in the destination_object that do not exist. It will initialize some of the presentation and physical attributes to those of the copied data. It will remove and replace any source object that already exist in the destination object. In this case, the copy will not change the physical attributes of the data, but will automatically translate the data. For example, if the original size of the data in the destination_object is different than the size in the source_object then subsampling or supersampling will be performed to resize the data so that it fits.
Geometry Services attempts to minimize the number of attributes that are copied with the data, as there is another function for that purpose (kgeom_copy_attributes). However, as mentioned above, there are cases when it is necessary to copy certain attributes that are critical to the interpretation of the data. However, this will only occur when the destination does not have the data being copied.
none
none
$DATASERV/include/koldgeom/kgeometry.h