PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ rt_util_from_ogr_envelope()

void rt_util_from_ogr_envelope ( OGREnvelope  env,
rt_envelope ext 
)

Definition at line 406 of file rt_util.c.

References rt_envelope::MaxX, rt_envelope::MaxY, rt_envelope::MinX, rt_envelope::MinY, rt_envelope::UpperLeftX, and rt_envelope::UpperLeftY.

Referenced by rt_raster_gdal_rasterize().

409  {
410  assert(ext != NULL);
411 
412  ext->MinX = env.MinX;
413  ext->MaxX = env.MaxX;
414  ext->MinY = env.MinY;
415  ext->MaxY = env.MaxY;
416 
417  ext->UpperLeftX = env.MinX;
418  ext->UpperLeftY = env.MaxY;
419 }
double MinY
Definition: librtcore.h:179
double UpperLeftX
Definition: librtcore.h:182
double MaxY
Definition: librtcore.h:180
double MaxX
Definition: librtcore.h:178
double MinX
Definition: librtcore.h:177
double UpperLeftY
Definition: librtcore.h:183
Here is the caller graph for this function: