浏览代码

diglib: fix typos

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71782 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 7 年之前
父节点
当前提交
e5c2a21097
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      lib/vector/diglib/plus_area.c

+ 7 - 7
lib/vector/diglib/plus_area.c

@@ -171,7 +171,7 @@ dig_build_area_with_line(struct Plus_head *plus, plus_t first_line, int side,
  *
  * Then for each line in area, update line (right,left) info.
  *
- * Neither islands nor centroids area filled.
+ * Neither islands nor centroids are filled.
  *
  * \param[in] plus pointer to Plus_head structure
  * \param[in] n_lines number of lines
@@ -340,7 +340,7 @@ int dig_area_del_isle(struct Plus_head *plus, int area, int isle)
  * \brief Delete area from Plus_head structure
  *
  *  This function deletes area from the topo structure and resets references
- *  to this area in lines, isles (within) to 0. 
+ *  to this area in boundaries, isles (within), and the centroid (if any) to 0.
  *  Possible new area is not created by this function, so that
  *  old boundaries participating in this area are left without area information
  *  even if form new area.
@@ -447,7 +447,7 @@ int dig_del_area(struct Plus_head *plus, int area)
 
 
 /*!
- * \brief Find number line of next angle to follow an line
+ * \brief Find line number of next angle to follow a line
  *
  * Assume that lines are sorted in increasing angle order and angles
  * of points and degenerated lines are set to -9 (ignored).
@@ -458,8 +458,8 @@ int dig_del_area(struct Plus_head *plus, int area)
  * \param[in] type line type (GV_LINE, GV_BOUNDARY or both)
  * \param[in] angle
  *
- * \return line number of next angle to follow an line (negative if connected by end node)
- *               (number of current line may be return if dangle - this is used in build)
+ * \return line number of next angle to follow a line (negative if connected by end node)
+ *               (number of current line may be returned if dangle - this is used in build)
  * \return 0 on error or not found
  */
 int
@@ -591,7 +591,7 @@ dig_angle_next_line(struct Plus_head *plus, plus_t current_line, int side,
 }
 
 /*!
- * \brief Checks if angles of adjacent lines differ.
+ * \brief Check if angles of adjacent lines differ.
  *
  * Negative line number for end point. Assume that lines are sorted
  * in increasing angle order and angles of points and degenerated
@@ -669,7 +669,7 @@ int dig_node_angle_check(struct Plus_head *plus, plus_t line, int type)
  * The order of input lines is expected to be counter clockwise.
  * Then for each line in isle, update line (right,left) info.
  *
- *  Area number the island is within is not filled.
+ * Area number the island is within is not filled.
  *
  * \param[in] plus pointer to Plus_head structure
  * \param[in] n_lines number of lines