فهرست منبع

more answers

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55480 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 سال پیش
والد
کامیت
af9dd8e50b
1فایلهای تغییر یافته به همراه11 افزوده شده و 9 حذف شده
  1. 11 9
      lib/vector/vectorlib_faq.dox

+ 11 - 9
lib/vector/vectorlib_faq.dox

@@ -62,10 +62,14 @@ if areaCats.contents.n_cats == 0:
 \endcode
 \endcode
 </dd>
 </dd>
 
 
-<dt>What is feature and what is line (not particular geometry type GV_LINE but
-thing read by Vect_read_line() function)?</dt>
+<dt>What is feature and what is line (not particular geometry type GV_LINE 
+but the object read by Vect_read_line() function)?</dt>
 <dd>
 <dd>
-Vect_read_line() reads, GV_POINT, GV_LINE, GV_BOUNDARY, GV_CENTROID, GV_FACE.
+Vect_read_line() reads a feature from the coor file or from external 
+datasources which can be for native GRASS vectors of type GV_POINT, 
+GV_LINE, GV_BOUNDARY, GV_CENTROID or GV_FACE. In the code of the 
+vector library and modules, the word 'line' often refers to a feature in 
+general, not only to features of type GV_LINE.
 </dd>
 </dd>
 
 
 <dt>Can one feature have several categories? Do these categories have to be
 <dt>Can one feature have several categories? Do these categories have to be
@@ -89,13 +93,11 @@ Points and Cats structures with coordinates and categories.
 <dt>Why there is no function such as Vect_get_point() or
 <dt>Why there is no function such as Vect_get_point() or
 Vect_get_boundary_points()?</dt>
 Vect_get_boundary_points()?</dt>
 <dd>
 <dd>
-The GRASS-internal feature id refers to primitives (points, lines, boundaries,
-centroids, faces). These are all lumped together. That means that something
-like Vect_get_point() would use as arguments map and id, but this id can refer
-to any of points, lines, boundaries, centroids, faces. The coordinates of these
-primitives are stored in one file, and this file does not have separate
+Because Vect_read_line() does that, i.e. it can read points, lines, 
+boundaries, centroids, faces. The coordinates of these primitive features 
+are stored in one file, and this file does not have separate
 sections for points, lines, boundaries, centroids, faces. The equivalent of
 sections for points, lines, boundaries, centroids, faces. The equivalent of
-Vect_get_point() is done on module level by checking the return type of
+Vect_get_point() etc is done on module level by checking the return type of
 Vect_read_line(). Further on, sometimes it is desired to work with more than
 Vect_read_line(). Further on, sometimes it is desired to work with more than
 one type at the same time. That's the reason for
 one type at the same time. That's the reason for
 \code{.c}
 \code{.c}