Getting the individual entities information from shapes

I have a obtained a final shape by performing some boolean operations. I want to get the information of a user selected face from the shape. The information could be vertices of the edges.

How can i get the all points from an edge ?

Any info on this is greatly appreciated.

Regards
saleem

Stephane Routelous's picture

Hi,

you can use the TopExp_Explorer class to iterate through a shape for having its sub-shapes.

HTH

saleem's picture

Hi,
Thanx for the info,
If u have any piece of code, can u send it to me.

Regards
saleem

saleem's picture

Hi,
Thanx, it works,

Your help is greatly appreciated.

Regards
Saleem

wyiya's picture

Having any code , can U send to me .it's very helpful for me!