GRASS 8 Programmer's Manual  8.5.0dev(2025)-c070206eb1
g_line Struct Reference

Line instance. More...

#include <ogsf.h>

Collaboration diagram for g_line:

Data Fields

int type
 
float norm [3]
 
int dims
 
int npts
 
Point3p3
 
Point2p2
 
struct line_catscats
 Store information about all layers/cats for thematic display. More...
 
gvstylestyle
 Line instance look&feel. More...
 
signed char highlighted
 >0 Feature is highlighted. More...
 
struct g_linenext
 

Detailed Description

Line instance.

Definition at line 352 of file ogsf.h.

Field Documentation

◆ cats

struct line_cats* g_line::cats

Store information about all layers/cats for thematic display.

Definition at line 360 of file ogsf.h.

Referenced by gv_free_vectmem().

◆ dims

int g_line::dims

Definition at line 355 of file ogsf.h.

Referenced by gv_free_vectmem().

◆ highlighted

signed char g_line::highlighted

>0 Feature is highlighted.

Definition at line 366 of file ogsf.h.

◆ next

struct g_line* g_line::next

Definition at line 368 of file ogsf.h.

Referenced by gln_num_points(), gv_decimate_lines(), and gv_free_vectmem().

◆ norm

float g_line::norm[3]

Definition at line 354 of file ogsf.h.

◆ npts

int g_line::npts

Definition at line 355 of file ogsf.h.

Referenced by gln_num_points(), gv_decimate_lines(), gv_free_vectmem(), and gv_line_length().

◆ p2

Point2* g_line::p2

Definition at line 357 of file ogsf.h.

Referenced by gv_free_vectmem(), and gv_line_length().

◆ p3

Point3* g_line::p3

Definition at line 356 of file ogsf.h.

Referenced by gv_free_vectmem(), and gv_line_length().

◆ style

gvstyle* g_line::style

Line instance look&feel.

Definition at line 363 of file ogsf.h.

◆ type

int g_line::type

Definition at line 353 of file ogsf.h.


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