I import STEP-files with the help of OCC and it's STEPCAFControl_Reader. I retrieve the geometry as OCAF document and I can access the resulting TopoDS_Shape.
What I am looking for is a way to detect the type of shape that was imported from STEP. E.g. a sphere, defined in a STEP file shall be recognized as a sphere after the import - therefore I need to find out the centre and the diameter of this sphere.
So can anyone give me a hint how to detect shape types and shape parameters during/after a STEP import?
Thanks a lot in advance!