| 344 | } |
| 345 | |
| 346 | static PJ_COORD forward_4d(PJ_COORD in, PJ *P) { |
| 347 | auto *Q = (struct defmodelData *)P->opaque; |
| 348 | |
| 349 | PJ_COORD out; |
| 350 | out.xyzt.t = in.xyzt.t; |
| 351 | |
| 352 | if (!Q->evaluator->forward(Q->evaluatorIface, in.xyzt.x, in.xyzt.y, |
| 353 | in.xyzt.z, in.xyzt.t, out.xyzt.x, out.xyzt.y, |
| 354 | out.xyzt.z)) { |
| 355 | return proj_coord_error(); |
| 356 | } |
| 357 | |
| 358 | return out; |
| 359 | } |
| 360 | |
| 361 | static PJ_COORD reverse_4d(PJ_COORD in, PJ *P) { |
| 362 | auto *Q = (struct defmodelData *)P->opaque; |
nothing calls this directly
no test coverage detected