PostGIS  2.4.9dev-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:167
double UpperLeftX
Definition: librtcore.h:170
double MaxY
Definition: librtcore.h:168
double MaxX
Definition: librtcore.h:166
double MinX
Definition: librtcore.h:165
double UpperLeftY
Definition: librtcore.h:171
Here is the caller graph for this function: