Get catenary parameters for given endpoints and length

Description

Takes endpoints in data frame and length and returns parameters of catenary

Usage

1
fitCatEndPts(endpoints, L)

Arguments

endpoints

2x2 data frame with first column x second column is y

L

length

Value

vector of parameters

Note

February 11 2013

Author(s)

Jono Tuke, Matthew Roughan

Examples

1
2
3
4
5
x <- c(-1,1)
y <- c(2,2)
endpoints <- data.frame(x=x,y=y)
L <- 3
fitCatEndPts(endpoints,L)