Automatic Gap Closing
Thanks to the
MapKernel
library, we:
compute the planar map, i.e. the zones defined by all the strokes,
edit this planar map, adding, cutting or removing edges,
read back a planar geometry in terms of Bézier curves.
We use the central trajectory of strokes to compute the planar map for three reasons:
the size of the map is smaller (twice),
the width of the strokes may have to be changed when the drawing is reused,
we want to avoid artifacts that arise when two zones are exactly adjacent.
Send your comments to
Jean-Daniel.Fekete@emn.fr
.