Such as OpenCV does here
I'm looking mostly for erosion and dilation of OCC faces.
Currently I'm using Shapely to (they call their function) "buffer" a polygon, and then convert it to an OCC face and extrude my 3d geometry up from there, but Shapely builds it's polygons of solely line segments and I'd like to use the full descriptive power of a b rep (eg, actual arcs for end caps).
Closest I've seen is Geom2d_OffsetCurve, but there's be a pretty bit to build on top for that.
Such as OpenCV does here
I'm looking mostly for erosion and dilation of OCC faces.
Currently I'm using Shapely to (they call their function) "buffer" a polygon, and then convert it to an OCC face and extrude my 3d geometry up from there, but Shapely builds it's polygons of solely line segments and I'd like to use the full descriptive power of a b rep (eg, actual arcs for end caps).
Closest I've seen is Geom2d_OffsetCurve, but there's be a pretty bit to build on top for that.