PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ rt_util_same_geotransform_matrix()

int rt_util_same_geotransform_matrix ( double *  gt1,
double *  gt2 
)

Definition at line 538 of file rt_util.c.

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

References FALSE, FLT_NEQ, and TRUE.

Referenced by RASTER_union_transfn().

Here is the caller graph for this function: