MCPcopy Create free account
hub / github.com/Kitware/VTK / forward_4d

Function forward_4d

ThirdParty/libproj/vtklibproj/src/transformations/defmodel.cpp:346–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346static 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
361static PJ_COORD reverse_4d(PJ_COORD in, PJ *P) {
362 auto *Q = (struct defmodelData *)P->opaque;

Callers

nothing calls this directly

Calls 2

proj_coord_errorFunction · 0.85
forwardMethod · 0.45

Tested by

no test coverage detected