W <- letterR
Frame(W) <- grow.rectangle(Frame(W), 0.2)
plot(W, main="")
f <- SupportFun(W)
p <- f(pi/6)
plot(infline(p=p, theta=pi/6), col="red", lwd=2)
## as a function
curve(f, to=2*pi)
Run the code above in your browser using DataLab