c++ - GDI CreatePolyPolygon and boost multi_polygon -


there winapi function following prototype:

winapi createpolypolygonrgn( point *pptl, int  *pc, int cpoly, int imode); 

i can't realize best way convert multipolygon representation accepted procedure multi_polygon boost model. in case of interior-free polygon set conversion multi_polygon evident.

but if have interiors don't see easy way of conversion because need detect interiors first , correspondence polygons. it's easy collect exterior , interior polygons exterior polygons , put multi_polygon. how put interior polygons represented exterior corresponding polygon interior rings?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -