/
| 3801 | |
| 3802 | /***********************************************/ |
| 3803 | double pj_vgrid_value(PJ *P, const ListOfVGrids &grids, PJ_LP lp, |
| 3804 | double vmultiplier) { |
| 3805 | /*********************************************** |
| 3806 | |
| 3807 | Read grid value at position lp in grids loaded |
| 3808 | with proj_grid_init. |
| 3809 | |
| 3810 | Returns the grid value of the given coordinate. |
| 3811 | |
| 3812 | ************************************************/ |
| 3813 | |
| 3814 | double value; |
| 3815 | |
| 3816 | value = read_vgrid_value(P->ctx, grids, lp, vmultiplier); |
| 3817 | if (pj_log_active(P->ctx, PJ_LOG_TRACE)) { |
| 3818 | proj_log_trace(P, "proj_vgrid_value: (%f, %f) = %f", |
| 3819 | lp.lam * RAD_TO_DEG, lp.phi * RAD_TO_DEG, value); |
| 3820 | } |
| 3821 | |
| 3822 | return value; |
| 3823 | } |
| 3824 | |
| 3825 | // --------------------------------------------------------------------------- |
| 3826 |
no test coverage detected