Changes between Initial Version and Version 1 of Ticket #3244, comment 3


Ignore:
Timestamp:
Jan 14, 2017, 7:44:53 AM (3 years ago)
Author:
martinl
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3244, comment 3

    initial v1  
    22> Patch attached attachment:get_map_box.diff. Unfortunately it requires change in function definition (`const struct Map_info *` -> `struct Map_into *`) since `Vect_rewind()` is called.
    33
    4 Touching `plus_head` structure on level1 is not good idea since this structure is designed for topological level 2. I modified patch by introducing `Vect_get_map_box1()` which works on level1. On level 1 `Vect_get_map_box()` returns error code. Example of usage (which fixes `d.vect zcolor=elevation` for maps open on level 1):
     4Touching `plus_head` structure on level1 is not good idea since this structure is designed for topological level 2. I modified patch by introducing `Vect_get_map_box1()` which works on level1. See attachment:get_map_box_1.diff. On level 1 `Vect_get_map_box()` returns error code. Example of usage (which fixes `d.vect zcolor=elevation` for maps open on level 1):
    55
    66{{{