I want to know if is possible to create an Bspline-curve or something else at runtime. Just add Controlpoints and then select to needed curve like BSpline. (OCC 5.2.4) ?
with best regards
Ulhak
Gerhard Hofmann Thu, 10/06/2005 - 13:33
Hello Ulhak,
I don't know how you work interactivly with Open Casdcade, but I let the user click into a windows form and use GeomAPI_Interpolate with these points to create a BSpline.
thank you for your answer. Yes, what i meant was just like that what you did. I thought if it possible to convert on the 3dViewer mouse clicks as control points and than choose from a windows form the desired Curve to create. Can you sent me your example how you did with the windows form, cause thats my next problem. I try to code an MFC program... I would be VERY obliged if you sent me your code...my Mail-adress: ulardoo@web.de
Thu, 10/06/2005 - 13:33
Hello Ulhak,
I don't know how you work interactivly with Open Casdcade, but I let the user click into a windows form and use GeomAPI_Interpolate with these points to create a BSpline.
regards
Gerhard
Thu, 10/06/2005 - 18:46
Hello Gerhard,
thank you for your answer. Yes, what i meant was just like that what you did. I thought if it possible to convert on the 3dViewer mouse clicks as control points and than choose from a windows form the desired Curve to create. Can you sent me your example how you did with the windows form, cause thats my next problem. I try to code an MFC program... I would be VERY obliged if you sent me your code...my Mail-adress: ulardoo@web.de
with best regards
Ulhak