GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
P_line Struct Reference

Vector geometry. More...

#include <dig_structs.h>

Data Fields

char type
 Line type. More...
 
off_t offset
 Offset in coor file for line. More...
 
void * topo
 Topology info. More...
 

Detailed Description

Vector geometry.

Definition at line 1553 of file dig_structs.h.

Field Documentation

◆ offset

off_t P_line::offset

Offset in coor file for line.

OGR-links: offset array index PG-links: node/edge id

Definition at line 1571 of file dig_structs.h.

Referenced by dig_Rd_P_line(), and dig_Wr_P_line().

◆ topo

void* P_line::topo

Topology info.

NULL for points

Definition at line 1577 of file dig_structs.h.

Referenced by dig_find_area_box(), dig_find_isle_box(), dig_free_line(), dig_Rd_P_line(), dig_spidx_del_area(), dig_spidx_del_isle(), and dig_Wr_P_line().

◆ type

char P_line::type

Line type.

  • GV_POINT
  • GV_LINE
  • GV_BOUNDARY
  • GV_CENTROID
  • GV_FACE
  • GV_KERNEL

Definition at line 1564 of file dig_structs.h.

Referenced by dig_Rd_P_line(), dig_Wr_P_line(), and dig_Wr_Plus_head().


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