Hi, Jeremy Murphy wrote:
Is there a generic way to modify geometry structurally? Say if I have a ring and I want to insert a new point? Or would I need to reach into the underlying container to make that kind of change? Thanks, cheers. Jeremy
You may use one of the provided functions: - append() (http://www.boost.org/doc/libs/1_55_0/libs/geometry/doc/html/geometry/referen...) - assign_points() (http://www.boost.org/doc/libs/1_55_0/libs/geometry/doc/html/geometry/referen...) - clear() (http://www.boost.org/doc/libs/1_55_0/libs/geometry/doc/html/geometry/referen...) And in case you wanted to modify only one ring of a Polygon, there are also: - exterior_ring() (http://www.boost.org/doc/libs/1_55_0/libs/geometry/doc/html/geometry/referen...) - interior_rings() (http://www.boost.org/doc/libs/1_55_0/libs/geometry/doc/html/geometry/referen...) Regards, Adam