source: issm/oecreview/Archive/24684-25833/ISSM-24787-24788.diff

Last change on this file was 25834, checked in by Mathieu Morlighem, 4 years ago

CHG: added 24684-25833

File size: 872 bytes
  • ../trunk-jpl/src/m/modules/CoordTransform.m

     
     1function [xout,yout] = CoordTransform(xin,yin,projin,projout)
     2%COORDTRANSFORM - use PROJ to transform coordinates
     3%
     4%   Usage:
     5%      [xout,yout] = CoordTransform(xin,yin,projin,projout)
     6%
     7%   xin,  yin : input coordinates
     8%   xout, yout: output coordinates (in new projection)
     9%   projin,projout: input/output projection string (PROJ)
     10%
     11%   This function will only work of PROJ has been installed in externalpackages
     12
     13% Check usage
     14if nargin~=4
     15        help CoordTransform
     16        error('Wrong usage (see above)');
     17end
     18
     19% Call mex module
     20[xout, yout] = CoordTransform_matlab(xin,yin,projin,projout);
     21
Note: See TracBrowser for help on using the repository browser.