66 Barracuda headliner install problem

I can probably help with the '66 version. I assume they're the same as a '65, but, not positive. You need a measurement straight from end to end or following the curve?