grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

gsx.c File Reference

OGSF library - loading and manipulating surfaces. More...

#include <grass/ogsf.h>
Include dependency graph for gsx.c:

Go to the source code of this file.


int GS_check_cancel (void)
 Check for cancel. More...
void GS_set_cancel (int c)
 Set cancel. More...
void GS_set_cxl_func (void(*f)(void))
 Set cxl function. More...


void(* Cxl_func )()
static int Cxl = 0

Detailed Description

OGSF library - loading and manipulating surfaces.

GRASS OpenGL gsurf OGSF Library

(C) 1999-2008 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Bill Brown USACERL (December 1993)
Doxygenized by Martin Landa <landa.martin> (May 2008)

Definition in file gsx.c.

Function Documentation

◆ GS_check_cancel()

int GS_check_cancel ( void  )

Check for cancel.


Definition at line 30 of file gsx.c.

References Cxl, and Cxl_func.

Referenced by gpd_2dsite(), gpd_3dsite(), gsd_norm_arrows(), gsd_ortho_wall(), gsd_surf_const(), gsd_surf_map(), gsd_surf_map_old(), gvd_vect(), and gvld_isosurf().

◆ GS_set_cancel()

void GS_set_cancel ( int  c)

Set cancel.

Definition at line 40 of file gsx.c.

References c, and Cxl.

◆ GS_set_cxl_func()

void GS_set_cxl_func ( void(*)(void)  f)

Set cxl function.

pointerto function

Definition at line 52 of file gsx.c.

References Cxl_func.

Variable Documentation

◆ Cxl

int Cxl = 0

Definition at line 23 of file gsx.c.

Referenced by GS_check_cancel(), and GS_set_cancel().

◆ Cxl_func

void(* Cxl_func) () ( )

Definition at line 21 of file gsx.c.

Referenced by GS_check_cancel(), GS_libinit(), and GS_set_cxl_func().