#ifndef OFFSETH #define OFFSETH struct offset { double dx; double dy; offset(double dx, double dy): dx(dx), dy(dy) {} }; #endif