Documentation for pp_lib

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

./

pp_connectivity_list.pro


Routines

top source pp_connectivity_list

result = pp_connectivity_list(conn)

Converts a connectivity array, such as one used by map_proj_forward, to a list of arrays. Each list element is an array with the indices of the corresponding line/polygon.

Return value

A list, where each element is the array of vertices belonging to that line/polygon as specified by the input connectivity array.

Parameters

conn in required

An array with a connectivity list, such as that used by map_proj_forward, which starts with an integer m0 specifying the number of vertices belonging to the first line/polygon, followed by the m0 indices belonging to that line/polygon, followed by an m1 integer specifying the number of indices belonging to the second line/polygon, followed by the m1 indices of the second line/polygon, and so on.

Author information

Author:

Paulo Penteado (http://www.ppenteado.net), Feb/2016

Statistics

Lines:
11 lines
Cyclomatic complexity:
1
Modified cyclomatic complexity:
1

File attributes

Modification date: Wed Jun 29 22:15:28 2016
Lines: 11
Docformat: rst rst