How to create a POLYGON

Hi All,

Can anyone please help me in finding a function which is used to create a polygon?

I want to create a polygon with N points where N=3,4..etc. I could find only Geom_Line which is used to draw a line passing through two points. Geom_Curve has different functions,but none of the functions can make a polygon when given N points.

Thank you
Sindhu

Roman Lygin's picture

Discussed here - http://opencascade.blogspot.com/2009/03/topology-and-geometry-in-open-ca.... Just to make sure there's only one thread on the subject.