Scale multiple geometries in boost geometry

57 Views Asked by At

I know how to scale a single geometry in boost (e.g. using matrix_transformer [1]). But let's say I have polygons, points and lines.

Now my problem is the following: I'm calculating a single bounding box of all geometries, and present that bbox to a user in order to allow him to resize that bbox. Afterwards, I want to scale and translate all geometries within that bbox accordingly.

Can this be done with boost::geometry?

[1] Polygon transformation in Boost.Geometry in C++: Translation, Rotation, Reflection around a line

0

There are 0 best solutions below