[NTG-context] Is this a MetaFun bug or intended behaviour?
Gerben Wierda
gerben.wierda at rna.nl
Thu Apr 30 12:29:54 CEST 2020
I wanted to use the macro simplified to remove duplicate points from a path, but it removes more than that:
metapost log > (127,-107)..controls (117,-107) and (107,-107)
metapost log > ..(97,-107)..controls (97,-130.33333333333334) and (97,-153.66666666666666)
metapost log > ..(97,-177)..controls (117,-177) and (137,-177)
metapost log > ..(157,-177)..controls (157,-170.33333333333334) and (157,-163.66666666666666)
metapost log > ..(157,-157)
metapost log >
metapost log > >> Path at line 0:
metapost log > (97,-177)..controls (117,-177) and (137,-177)
metapost log > ..(157,-177)..controls (157,-170.33333333333334) and (157,-163.66666666666666)
metapost log > ..(157,-157)
First is path, second is simplified path.
Is simplified maybe only supposed to work with cycles?
G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200430/28e9ac7f/attachment.htm>
More information about the ntg-context
mailing list