GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
zbulk.c File Reference

Vedit library - Bulk labeling (automated labeling of vector features) More...

#include <grass/dbmi.h>
#include <grass/vedit.h>
Include dependency graph for zbulk.c:

Go to the source code of this file.

Functions

int Vedit_bulk_labeling (struct Map_info *Map, struct ilist *List, double x1, double y1, double x2, double y2, double start, double step)
 Lines z-bulk labeling. More...
 

Detailed Description

Vedit library - Bulk labeling (automated labeling of vector features)

(C) 2007-2008 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Martin Landa <landa.martin gmail.com>

Definition in file zbulk.c.

Function Documentation

int Vedit_bulk_labeling ( struct Map_info *  Map,
struct ilist *  List,
double  x1,
double  y1,
double  x2,
double  y2,
double  start,
double  step 
)

Lines z-bulk labeling.

Automated labeling (z coordinate assignment) of vector lines (iso-lines).

Parameters
Mappointer to Map_info
Listlist of selected lines
point_start_endstaring and ending point
startstarting value
stepstep value
Returns
number of modified features
-1 on error

Definition at line 32 of file zbulk.c.

References db_CatValArray_alloc(), db_CatValArray_free(), db_CatValArray_sort_by_value(), NULL, dialogs::type, value, Vect_append_point(), Vect_delete_line(), Vect_destroy_cats_struct(), Vect_destroy_line_struct(), Vect_line_alive(), Vect_line_check_intersection(), Vect_line_intersection(), Vect_line_length(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_read_line(), Vect_rewrite_line(), and Vect_write_line().

Referenced by wxdigit.IVDigit::ZBulkLines().