Can Boost::Geometry polygon intersection operations (boolean operations of intersection, union or difference) be used while retaining custom properties that a user might assign to a line segment of that polygon?
For example, using Boost::Geometry, would the boolean operations between two polygons in the image below preserve the colours of the line segments in the original polygons in the way shown?
Image of polygon operations with edge properties as colour
As one can define custom point_xy objects to feed into the boolean operations algorithm, it would be possible to assign properties to a vertex of each polygon as input. The question is: will the output retain these properties in a predictable way?
If Boost Geometry can do this, how would we go about it?
Note: there is a related question regarding linestrings here: Find all linesegments=edges within a certain distance to a point in a graph, how to combine boost-graph with boost-geometry? , but as I understand it, Boost Geometry must define polygons with points, not line segments for boolean operations.