How to access the float value from ofCurvePoint?

Hi, I’m new in OF and trying to translate a code from Processing in OF, and I’m looking for a way to access the float value from ofCurvePoint(a, b, c, d, t) like in Processing’s curvePoint(a, b, c, d, t)

Is there a way to do it in OF?

thanks in advance!
Mariana

yes you can use ofBezierPoint:

http://openframeworks.cc/documentation/math/ofMath.html#!show_ofBezierPoint

you pass in 4 ofPoints (a,b,c,d) and one floating point number (t) between 0 and 1 and it returns a point.

oh! ok
Tank you!