how to sample interpolated values from shapes

How would I go about grabbing interpolated values from shapes created with ofBeginShape()/ofEndShape()? Basically, I have a bezier spline and I’d like to have a function to sample values at various points for applications like driving a wavetable oscillator or controlling the rate of a video. Any help is appreciated.

Thanks,
Zach

Nevermind- I just found ofxMSASpline. Hopefully that will do the trick.