|
GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#include <stdlib.h>#include <math.h>#include <grass/gis.h>#include <grass/imagery.h>#include <grass/glocale.h>#include <signal.h>
Go to the source code of this file.
Macros | |
| #define | M(row, col) m->v[(((row)-1)*(m->n))+(col)-1] |
| #define | MSUCCESS 1 /* SUCCESS */ |
| #define | MNPTERR 0 /* NOT ENOUGH POINTS */ |
| #define | MUNSOLVABLE -1 /* NOT SOLVABLE */ |
| #define | MMEMERR -2 /* NOT ENOUGH MEMORY */ |
| #define | MPARMERR -3 /* PARAMETER ERROR */ |
| #define | MINTERR -4 /* INTERNAL ERROR */ |
| #define | MAXORDER 3 /* HIGHEST SUPPORTED ORDER OF TRANSFORMATION */ |
| #define | MAX(x, y) ((x) > (y) ? (x) : (y)) |
| #define | MIN(x, y) ((x) < (y) ? (x) : (y)) |
Functions | |
| int | I_georef_tps (double e1, double n1, double *e, double *n, double *E, double *N, struct Control_Points *cp, int fwd) |
| int | I_compute_georef_equations_tps (struct Control_Points *cp, double **E12tps, double **N12tps, double **E21tps, double **N21tps) |
| #define M | ( | row, | |
| col | |||
| ) | m->v[(((row)-1)*(m->n))+(col)-1] |
Definition at line 34 of file georef_tps.c.
Definition at line 46 of file georef_tps.c.
Referenced by I_compute_georef_equations_tps().
| #define MAXORDER 3 /* HIGHEST SUPPORTED ORDER OF TRANSFORMATION */ |
Definition at line 43 of file georef_tps.c.
Definition at line 49 of file georef_tps.c.
Referenced by I_compute_georef_equations_tps().
| #define MINTERR -4 /* INTERNAL ERROR */ |
Definition at line 41 of file georef_tps.c.
| #define MMEMERR -2 /* NOT ENOUGH MEMORY */ |
Definition at line 39 of file georef_tps.c.
| #define MNPTERR 0 /* NOT ENOUGH POINTS */ |
Definition at line 37 of file georef_tps.c.
Referenced by I_compute_georef_equations_tps().
| #define MPARMERR -3 /* PARAMETER ERROR */ |
Definition at line 40 of file georef_tps.c.
| #define MSUCCESS 1 /* SUCCESS */ |
Definition at line 36 of file georef_tps.c.
| #define MUNSOLVABLE -1 /* NOT SOLVABLE */ |
Definition at line 38 of file georef_tps.c.
Referenced by I_compute_georef_equations_tps().
| int I_compute_georef_equations_tps | ( | struct Control_Points * | cp, |
| double ** | E12tps, | ||
| double ** | N12tps, | ||
| double ** | E21tps, | ||
| double ** | N21tps | ||
| ) |
Definition at line 120 of file georef_tps.c.
References _, Control_Points::count, Control_Points::e1, Control_Points::e2, G_message(), MAX, MIN, MNPTERR, MUNSOLVABLE, Control_Points::n1, Control_Points::n2, and Control_Points::status.
| int I_georef_tps | ( | double | e1, |
| double | n1, | ||
| double * | e, | ||
| double * | n, | ||
| double * | E, | ||
| double * | N, | ||
| struct Control_Points * | cp, | ||
| int | fwd | ||
| ) |
Definition at line 72 of file georef_tps.c.
References Control_Points::count, Control_Points::e1, Control_Points::e2, Control_Points::n1, Control_Points::n2, and Control_Points::status.