Jelajahi Sumber

rasterlib: docs for Rast_raster_cpy function

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68560 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 tahun lalu
induk
melakukan
050a3c1788
1 mengubah file dengan 6 tambahan dan 3 penghapusan
  1. 6 3
      lib/raster/raster.c

+ 6 - 3
lib/raster/raster.c

@@ -67,10 +67,13 @@ int Rast_raster_cmp(const void *v1, const void *v2, RASTER_MAP_TYPE data_type)
 /*!
 /*!
  * \brief Copies raster values.
  * \brief Copies raster values.
  *
  *
- * If v2 is null value, sets v2 to null value.
+ * If \p v2 is null value, sets \p v2 to null value.
+ * \p n is typically size of the destination array
+ * and the source array is at least that large.
  *
  *
- * \param v1, v2 raster values
- * \param n ?
+ * \param v1 destination array for raster values
+ * \param v2 source array with raster values
+ * \param n number of values to copy
  * \param data_type raster type (CELL, FCELL, DCELL)
  * \param data_type raster type (CELL, FCELL, DCELL)
  */
  */
 void Rast_raster_cpy(void *v1, const void *v2, int n,
 void Rast_raster_cpy(void *v1, const void *v2, int n,