Object Type

Hi All,
Is there any way to realize that what the selected shape is?
I mean its type such as a point, line, circle, bspline curve, bspline surface etc.
regards
Akbari

dangee's picture

Hi, Akbari!

I am newbie in OCC (5.2.2). Your question is very interest for me. :)
Did you find answer? Please, write it.

regards, Dangee.

Stephane Routelous's picture

you can try BRepAdaptor_Curve::GetType if you have an edge
or BRepAdaptor_Surface for a face

HTH,

Stephane
http://www.exotk.org