PostGIS  2.1.10dev-r@@SVN_REVISION@@
int rt_util_same_geotransform_matrix ( double *  gt1,
double *  gt2 
)

Definition at line 595 of file rt_api.c.

References FALSE, FLT_NEQ, and TRUE.

Referenced by RASTER_union_transfn().

595  {
596  int k = 0;
597 
598  if (gt1 == NULL || gt2 == NULL)
599  return FALSE;
600 
601  for (k = 0; k < 6; k++) {
602  if (FLT_NEQ(gt1[k], gt2[k]))
603  return FALSE;
604  }
605 
606  return TRUE;
607 }
#define FLT_NEQ(x, y)
Definition: rt_api.h:2158
#define FALSE
Definition: dbfopen.c:169
#define TRUE
Definition: dbfopen.c:170

Here is the caller graph for this function: