get animation curve values

Hi,

I have a simple question… Is there any way to retrieve the animation curve values?? Lets say that I have an animation curve with 2 keyframes. One in the start position and one in the end position. I would like to check if the animation curve pass through a specific (lets say X position) position just in order to help me in animation blending…

Thanks in advance!

Hope you find these links useful

http://unity3d.com/support/documentation/ScriptReference/AnimationCurve.html
http://unity3d.com/support/documentation/Components/animeditor-AnimationCurves.html
http://unity3d.com/support/documentation/Components/animeditor-AnimationEvents.html