5 namespace isce3 {
namespace io {
namespace gdal {
28 GeoTransform(
double x0,
double y0,
double dx,
double dy) : x0(x0), y0(y0), dx(dx), dy(dy) {}
49 double transformX(
int pixel)
const {
return x0 + (pixel + 0.5) * dx; }
51 double transformY(
int line)
const {
return y0 + (line + 0.5) * dy; }
54 bool isIdentity()
const {
return x0 == 0. && y0 == 0. && dx == 1. && dy == 1.; }
62 bool operator==(
const GeoTransform &,
const GeoTransform &);
63 bool operator!=(
const GeoTransform &,
const GeoTransform &);