ELL_POLYGON Name
ELL_POLYGON Purpose
Fill sides of a polygon on an ellipsoid with small steps.
Category
Calling Sequence
ell_polygon, lng, lat, flag Inputs
lng, lat = Array of lng and lat of polygon vertices. in
Last point assumed to connect to first point.
flag=flg Connection to next point. String array. in
'G' = geodesic (default), 'L' = loxodrome.
Keyword Parameters
Keywords
LNG2=lng2 Returned array of longitudes.
LAT2=lat2 Returned array of latitudes.
STEP=step Step size along polygon side. In km unless
/M is set. This is a max step size, actual will
be this or smaller. Default values is 1.
/M means step size given in meters, else km.
/LIST list the ellipsoid being used.
Outputs
Common Blocks
Notes
Note: use ellipsoid, set=name to specify ellipsoid to use.
Mainly intended for area calculations. Can send resulting
points to ell_cyl_eq_area to get area if pole not included.
Modification History
R. Sterner, 2002 May 08
R. Sterner, 2009 Jan 14 --- Handled geodesic 0 distance case.
R. Sterner, 2009 Jan 14 --- Fixed some fatal bugs, better now.
R. Sterner, 2009 Jan 14 --- Fixed same for Lox case.
R. Sterner, 2010 May 04 --- Converted arrays from () to [].
Copyright (C) 2002, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.