PostGIS  2.1.10dev-r@@SVN_REVISION@@
void rt_util_from_ogr_envelope ( OGREnvelope  env,
rt_envelope ext 
)

Definition at line 514 of file rt_api.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().

517  {
518  assert(ext != NULL);
519 
520  ext->MinX = env.MinX;
521  ext->MaxX = env.MaxX;
522  ext->MinY = env.MinY;
523  ext->MaxY = env.MaxY;
524 
525  ext->UpperLeftX = env.MinX;
526  ext->UpperLeftY = env.MaxY;
527 }
double MinY
Definition: rt_api.h:154
double UpperLeftX
Definition: rt_api.h:157
double MaxY
Definition: rt_api.h:155
double MaxX
Definition: rt_api.h:153
double MinX
Definition: rt_api.h:152
double UpperLeftY
Definition: rt_api.h:158

Here is the caller graph for this function: