# PtsAlgHorseShoe: Function to find points along a horseshoe shape In GeoRange: Calculating Geographic Range from Occurrence Data

## Description

Function to find points along a horseshoe shape

## Usage

 1 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

## Details

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

## Value

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

## Note

Currently only works when endAngles are multiples of -90,90; otherwise rectangle point positions are off

## References

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

## Examples

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

GeoRange documentation built on June 20, 2017, 9:03 a.m.