Get outline of a 2D shape

Hello Everyone,

I have obtained a 2D shape using OCC's HLR algorithm. Is there any way to obtain just the outline of the shape as highlighted in the attached image? (From HLR algorithm itself or after obtaining this shape)

Best Regards,
Prajwal.

Attachments: 
Mikhail Sazonov's picture

As I know, HLR classifies the found edges, and one of classification type is outline. So, please, learn HLR API more carefully and you should find what you want.

Prajwal Shelar's picture

Hello Mikhail,
I have tried getting outline shape using OutLineVCompound(), but it gives empty shapes for this shape. Most of the edge form part of VCompound().
Thanks,
Prajwal

Mikhail Sazonov's picture

In this shape there are no outline edges. Outline is when there is no existing edge in the model at the place of outline, like in a sphere.