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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -