- Timestamp:
- 07/12/06 11:52:09 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/Interpolation/ll_narcs_distances.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 698 698 <div id="file_comments"> 699 699 This function returns the longitude and latitude [lon, lat] of 700 a point a given arc distance (-pi <= Arc_Dist <= pi), and azimuth (Az), 701 from a specified location Lon0, lat0. 702 Same as LL_ARC_DISTANCE but for n points without do loop. 703 704 705 Formula from Map Projections - a working manual. USGS paper 706 1395. Equations (5-5) and (5-6). 700 a point a given arc distance (-pi <= Arc_Dist <= pi), and azimuth (Az), 701 from a specified location Lon0, lat0. 702 Same as LL_ARC_DISTANCE but for n points without do loop. 703 704 Formula from Map Projections - a working manual. USGS paper 705 1395. Equations (5-5) and (5-6). 707 706 </div> 708 707 … … 729 728 </div> 730 729 731 <h3>Return value</h3><div class="value"> 732 a (2, n) array containing the 733 longitude / latitude of the resultings points. Values are in radians 734 unless the keyword DEGREES is set. 730 <h3>Return value</h3><div class="preformat"> 731 a (2, n) array containing the longitude/latitude of the resultings points. 732 Values are in radians unless the keyword DEGREES is set. 735 733 </div> 736 734 … … 750 748 </h4> 751 749 752 <div class="comments"> An array containing the longitude of the starting point. 753 Values are assumed to be in radians unless the keyword 754 DEGREES is set.</div> 750 <div class="comments"> 751 An array containing the longitude of the starting point. 752 Values are assumed to be in radians unless the keyword DEGREES is set. 753 </div> 755 754 756 755 <h4 id="_LL_NARCS_DISTANCES_param_lat0">lat0 … … 765 764 </h4> 766 765 767 <div class="comments"> An array containing the latitude of the starting point. 768 Values are assumed to be in radians unless the keyword 769 DEGREES is set.</div> 766 <div class="comments"> 767 An array containing the latitude of the starting point. 768 Values are assumed to be in radians unless the keyword DEGREES is set. 769 </div> 770 770 771 771 <h4 id="_LL_NARCS_DISTANCES_param_arc_dist">arc_dist … … 780 780 </h4> 781 781 782 <div class="comments"> The arc distance from Lon_lat0. The value must be between 782 <div class="comments"> 783 The arc distance from Lon_lat0. The value must be between 783 784 -!PI and +!PI. To express distances in arc units, divide 784 785 by the radius of the globe expressed in the original units. 785 786 For example, if the radius of the earth is 6371 km, divide 786 the distance in km by 6371 to obtain the arc distance. </div> 787 the distance in km by 6371 to obtain the arc distance. 788 </div> 787 789 788 790 <h4 id="_LL_NARCS_DISTANCES_param_az">az … … 797 799 </h4> 798 800 799 <div class="comments"> The azimuth from Lon_lat0. The value is assumed to be in 800 radians unless the keyword DEGREES is set. 801 <div class="comments"> 802 The azimuth from Lon_lat0. The value is assumed to be in 803 radians unless the keyword DEGREES is set. 801 804 </div> 802 805 … … 819 822 </h4> 820 823 821 <div class="comments"> Set this keyword to express all measurements and822 results in degrees.824 <div class="comments"> 825 Set this keyword to express all measurements and results in degrees. 823 826 </div> 824 827 825 828 826 829 827 <h3>Examples</h3><div class=" value">830 <h3>Examples</h3><div class="preformat"> 828 831 IDL> Lon_lat0 = [1.0, 2.0]; Initial point specified in radians 829 832 IDL> Arc_Dist = 2.0; Arc distance in radians … … 833 836 2.91415 -0.622234 834 837 835 IDL> lon0 = [-10, 20, 100]836 IDL> lat0 = [0, -10, 45]837 IDL> lon1 = [10, 60, 280]838 IDL> lat1 = [0, 10, 45]839 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi, /two_by_two)840 IDL> earthradius = 6378206.4d0841 IDL> res = ll_narcs_distances(lon0, lat0, dist/earthradius, azi, /degrees)842 IDL> print, reform(res[0, *])838 IDL> lon0 = [-10, 20, 100] 839 IDL> lat0 = [0, -10, 45] 840 IDL> lon1 = [10, 60, 280] 841 IDL> lat1 = [0, 10, 45] 842 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi, /two_by_two) 843 IDL> earthradius = 6378206.4d0 844 IDL> res = ll_narcs_distances(lon0, lat0, dist/earthradius, azi, /degrees) 845 IDL> print, reform(res[0, *]) 843 846 10.000000 60.000000 280.00000 844 IDL> print, reform(res[1, *])845 1.1999280e-15 10.000000 45.000000847 IDL> print, reform(res[1, *]) 848 1.1999280e-15 10.000000 45.000000 846 849 </div> 847 850 <h3>Version history</h3> 848 851 849 <h4>Version</h4><div class=" value"> $Id: ll_narcs_distances.pro 118 2006-06-27 15:47:06Z pinsard $850 </div> 851 <h4>History</h4><div class=" value">852 <h4>Version</h4><div class="preformat"> $Id: ll_narcs_distances.pro 136 2006-07-10 15:20:19Z pinsard $ 853 </div> 854 <h4>History</h4><div class="preformat"> 852 855 Based on the IDL function ll_arc_distance.pro,v 1.11 2003/02/03 853 856 Sebastien Masson (smasson@lodyc.jussieu.fr)
Note: See TracChangeset
for help on using the changeset viewer.