5
int get_conz_points(void)
8
/* struct Ortho_Control_Points cpz; */
10
if (!I_get_con_points(group.name, &group.control_points))
13
sprintf(msg, _("Control Z Point file for group [%s] in [%s] \n \n"),
14
group.name, G_mapset());
16
G_verbose_message(_("Computing equations..."));
18
Compute_ortho_equation();
20
switch (group.con_equation_stat) {
22
strcat(msg, _("Poorly placed Control Points!\n"));
23
strcat(msg, _("Can not generate the transformation equation.\n"));
24
strcat(msg, _("Run OPTION 7 of i.ortho.photo again!\n"));
27
strcat(msg, _("No active Control Points!\n"));
28
strcat(msg, _("Can not generate the transformation equation.\n"));
29
strcat(msg, _("Run OPTION 7 of i.ortho.photo!\n"));
37
int get_ref_points(void)
40
/* struct Ortho_Photo_Points cp; */
42
if (!I_get_ref_points(group.name, &group.photo_points))
45
sprintf(msg, _("Reference Point file for group [%s] in [%s] \n \n"),
46
group.name, G_mapset());
48
Compute_ref_equation();
49
switch (group.ref_equation_stat) {
51
strcat(msg, _("Poorly placed Reference Points!\n"));
52
strcat(msg, _("Can not generate the transformation equation.\n"));
53
strcat(msg, _("Run OPTION 5 of i.ortho.photo again!\n"));
57
strcat(msg, _("No active Reference Points!\n"));
58
strcat(msg, _("Can not generate the transformation equation.\n"));
59
strcat(msg, _("Run OPTION 5 of i.ortho.photo!\n"));
65
/* exit(1); shouldn't get here */