Learn R Programming

GeoRange (version 0.1.0)

PtsAlgHorseShoe: Function to find points along a horseshoe shape

Description

Function to find points along a horseshoe shape

Usage

PtsAlgHorseShoe(z, spacing = 1, endAngles = c(-90, 90))

Arguments

z

- Distance in kilometers from the center of the horseshoe to its lower boundary

spacing

- Degrees between successive point outlining the horseshoe shape

endAngles

- Array of values denoting the degree of rotation for the circular part of the horseshoe distribution

Value

Returns a 2-dimensional array of decimal degree coordinates outlining a horseshoe shape

Details

Currently forces use 0,0 as the center, a height 5/4 width, and r2=2*r1 of origin (center)

References

[1] From http://mathforum.org/library/drmath/view/51816.html

Examples

Run this code
PtsAlgHorseShoe(z=2000,spacing=1,endAngles=c(-90,90))

Run the code above in your browser using DataLab