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

Function pj_find_generic_grid

ThirdParty/libproj/vtklibproj/src/grids.cpp:3375–3386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3373// ---------------------------------------------------------------------------
3374
3375const GenericShiftGrid *pj_find_generic_grid(const ListOfGenericGrids &grids,
3376 const PJ_LP &input,
3377 GenericShiftGridSet *&gridSetOut) {
3378 for (const auto &gridset : grids) {
3379 auto grid = gridset->gridAt(input.lam, input.phi);
3380 if (grid) {
3381 gridSetOut = gridset.get();
3382 return grid;
3383 }
3384 }
3385 return nullptr;
3386}
3387
3388// ---------------------------------------------------------------------------
3389

Callers 2

get_grid_valuesFunction · 0.85
get_grid_valuesFunction · 0.85

Calls 2

gridAtMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected