GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-ab90c5e5a9
xgraph.c File Reference
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/calc.h>
Include dependency graph for xgraph.c:

Go to the source code of this file.

Macros

#define X(j)   (argz[2 + 2 * (j) + 0][i])
 
#define Y(j)   (argz[2 + 2 * (j) + 1][i])
 
#define x   (argz[1][i])
 
#define X(j)   (argz[2 + (j) + 0][i])
 
#define Y(j)   (argz[2 + (j) + n][i])
 
#define x   (argz[1][i])
 

Functions

int c_graph (int argc, int *argt)
 
int f_graph (int argc, const int *argt, void **args)
 
int f_graph2 (int argc, const int *argt, void **args)
 

Macro Definition Documentation

◆ X [1/2]

#define X (   j)    (argz[2 + 2 * (j) + 0][i])

◆ x [1/2]

#define x   (argz[1][i])

◆ X [2/2]

#define X (   j)    (argz[2 + (j) + 0][i])

◆ x [2/2]

#define x   (argz[1][i])

◆ Y [1/2]

#define Y (   j)    (argz[2 + 2 * (j) + 1][i])

◆ Y [2/2]

#define Y (   j)    (argz[2 + (j) + n][i])

Function Documentation

◆ c_graph()

int c_graph ( int  argc,
int *  argt 
)

Definition at line 12 of file xgraph.c.

References DCELL_TYPE, E_ARG_LO, and E_ARG_NUM.

◆ f_graph()

int f_graph ( int  argc,
const int *  argt,
void **  args 
)

Definition at line 28 of file xgraph.c.

References columns, DCELL_TYPE, E_ARG_LO, E_ARG_NUM, E_ARG_TYPE, E_RES_TYPE, IS_NULL_D, SET_NULL_D, X, x, and Y.

◆ f_graph2()

int f_graph2 ( int  argc,
const int *  argt,
void **  args 
)

Definition at line 102 of file xgraph.c.

References columns, DCELL_TYPE, E_ARG_LO, E_ARG_NUM, E_ARG_TYPE, E_RES_TYPE, IS_NULL_D, SET_NULL_D, X, x, and Y.