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
Post a Comment