Rotation Symetric Function

Im a newbee to OCC and I need help to create a rotation symetric function. Say you have defined
some points and wish to create an object by rotating
it around on axis. I've done this in DirectX, but
im kind of stuck with OCC. Can anyone help me with
this algoritm?
Please look at this url as an example.

Best Regards..!

Rob Bachrach's picture

Check out BRepPrimAPI_MakeRevol. Rotating a wire makes a shell and rotating a face makes a solid.