PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ rt_util_same_geotransform_matrix()

int rt_util_same_geotransform_matrix ( double *  gt1,
double *  gt2 
)

Definition at line 535 of file rt_util.c.

535  {
536  int k = 0;
537 
538  if (gt1 == NULL || gt2 == NULL)
539  return FALSE;
540 
541  for (k = 0; k < 6; k++) {
542  if (FLT_NEQ(gt1[k], gt2[k]))
543  return FALSE;
544  }
545 
546  return TRUE;
547 }
#define TRUE
Definition: dbfopen.c:73
#define FALSE
Definition: dbfopen.c:72
#define FLT_NEQ(x, y)
Definition: librtcore.h:2379

References FALSE, FLT_NEQ, and TRUE.

Referenced by RASTER_union_transfn().

Here is the caller graph for this function: