Projecting a B-Spline Curve from Formula to a Circle

Hi All

I recently just discovered the tool to generate a B-spline curve by formula in Microstation V8i. It works great.

The problem I have now is to fit this curve into a circle of certain radius. I wonder if there is any tools for doing so.

I am actually working on a wheel flat problem in railways which is like a Haversine curve (to represent the flat). I attached a picture for clarity...

Thank you!