GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
P_area Struct Reference

Area (topology) info. More...

#include <dig_structs.h>

Data Fields

plus_t n_lines
 Number of boundary lines. More...
 
plus_t alloc_lines
 Allocated space for lines. More...
 
plus_tlines
 List of boundary lines. More...
 
plus_t centroid
 Number of first centroid within area. More...
 
plus_t n_isles
 Number of islands inside. More...
 
plus_t alloc_isles
 Allocated space for isles. More...
 
plus_tisles
 1st generation interior islands More...
 

Detailed Description

Area (topology) info.

Definition at line 1605 of file dig_structs.h.

Field Documentation

◆ alloc_isles

plus_t P_area::alloc_isles

Allocated space for isles.

Definition at line 1636 of file dig_structs.h.

Referenced by dig_free_area().

◆ alloc_lines

plus_t P_area::alloc_lines

Allocated space for lines.

Definition at line 1614 of file dig_structs.h.

Referenced by dig_free_area().

◆ centroid

plus_t P_area::centroid

Number of first centroid within area.

Definition at line 1628 of file dig_structs.h.

Referenced by dig_Rd_P_area(), dig_Wr_P_area(), and Vect_get_area_centroid().

◆ isles

plus_t* P_area::isles

1st generation interior islands

Definition at line 1640 of file dig_structs.h.

Referenced by dig_area_del_isle(), dig_free_area(), dig_Rd_P_area(), dig_Wr_P_area(), and Vect_get_area_isle().

◆ lines

plus_t* P_area::lines

List of boundary lines.

  • negative means direction N2 to N1
  • lines are in clockwise order

Definition at line 1621 of file dig_structs.h.

Referenced by dig_find_area_box(), dig_free_area(), dig_Rd_P_area(), dig_spidx_del_area(), dig_Wr_P_area(), and Vect_get_area_points().

◆ n_isles

plus_t P_area::n_isles

Number of islands inside.

Definition at line 1632 of file dig_structs.h.

Referenced by dig_area_del_isle(), dig_Rd_P_area(), dig_Wr_P_area(), and Vect_get_area_num_isles().

◆ n_lines

plus_t P_area::n_lines

Number of boundary lines.

Definition at line 1610 of file dig_structs.h.

Referenced by dig_Rd_P_area(), dig_Wr_P_area(), and Vect_get_area_points().


The documentation for this struct was generated from the following file: