powered by
Function to calcuate the area of a given horseshoe shape
HorseShoeArea(HorseShoeShape)
- Object containing the outline of a horseshoe shape, output from PtsAlgHorseShoe function
Returns the area of the horseshoe shape with the circular and rectangular portions separated
[1] From http://mathforum.org/library/drmath/view/51816.html
HorseShoeTest<-PtsAlgHorseShoe(z=2000,spacing=1,endAngles=c(-90,90)) HorseShoeArea(HorseShoeTest)
Run the code above in your browser using DataLab