How read co-ordinate info

Hello,

I am a fresher in OpenCASCADE and in IGES.

I have an IGES file with some simple 3-D shapes. I need to read this
file and find the co-ordinates of the shape.

How can I begin and proceed?
Hoping to get a reply soon.

TIA
Regards,
Jahfer

Rob Bachrach's picture

Look at the help page for IGESControl_Reader. It gives example code for reading the IGES file into one or more TopoDS_Shapes. As far as getting the coordinates, it matters what kind of information you need. You will have to interrogate the resulting shapes as necessary.