HorseShoeArea: Function to calcuate the area of a given horseshoe shape

Description Usage Arguments Value Note References Examples

View source: R/HorseShoeArea.R

Description

Function to calcuate the area of a given horseshoe shape

Usage

1
HorseShoeArea(HorseShoeShape)

Arguments

HorseShoeShape

- Object containing the outline of a horseshoe shape, output from PtsAlgHorseShoe function

Value

Returns the area of the horseshoe shape with the circular and rectangular portions separated

Note

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

References

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

Examples

1
2
HorseShoeTest<-PtsAlgHorseShoe(z=2000,spacing=1,endAngles=c(-90,90))
HorseShoeArea(HorseShoeTest)

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