GRASS Programmer's Manual  6.4.2(2012)
dataquad.h File Reference

Go to the source code of this file.

Data Structures

struct  triple
struct  quaddata

Defines

#define NW   1
#define NE   2
#define SW   3
#define SE   4

Functions

struct triplequad_point_new (double, double, double, double)
struct quaddataquad_data_new (double, double, double, double, int, int, int, int)
int quad_compare (struct triple *, struct quaddata *)
int quad_add_data (struct triple *, struct quaddata *, double)
int quad_intersect (struct quaddata *, struct quaddata *)
int quad_division_check (struct quaddata *, int)
struct quaddata ** quad_divide_data (struct quaddata *, int, double)
int quad_get_points (struct quaddata *, struct quaddata *, int)

Define Documentation

#define NE   2
#define NW   1
#define SE   4
#define SW   3

Function Documentation

int quad_add_data ( struct triple ,
struct quaddata ,
double   
)

Definition at line 117 of file dataquad.c.

References quaddata::n_points, NULL, quaddata::points, r, triple::sm, triple::x, triple::y, and triple::z.

Referenced by quad_divide_data().

int quad_division_check ( struct quaddata ,
int   
)

Definition at line 183 of file dataquad.c.

References quaddata::n_points, NULL, and quaddata::points.

int quad_intersect ( struct quaddata ,
struct quaddata  
)

Definition at line 152 of file dataquad.c.

References quaddata::x_orig, quaddata::xmax, quaddata::y_orig, and quaddata::ymax.

struct triple* quad_point_new ( double  ,
double  ,
double  ,
double   
) [read]

Definition at line 18 of file dataquad.c.

References NULL, triple::sm, triple::x, triple::y, and triple::z.

Referenced by process_point().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines