Closed Atox724 closed 6 months ago
How to calculate the union of graphs and obtain the vertex coordinates of the union graph to draw a new polygon
before: [ [ [600, 100], [1000, 100], [1000, 500], [600, 500], ], [ [800, 50], [1200, 350], [400, 350], ], ]
[ [ [600, 100], [1000, 100], [1000, 500], [600, 500], ], [ [800, 50], [1200, 350], [400, 350], ], ]
after: [ [ [600, 100], [735, 100], [800, 50], [865, 100], [1000, 100], [1000, 200], [1200, 350], [1000, 350], [1000, 500], [1000, 500], [600, 500], [600, 350], [400, 350], [600, 200], ], ]
[ [ [600, 100], [735, 100], [800, 50], [865, 100], [1000, 100], [1000, 200], [1200, 350], [1000, 350], [1000, 500], [1000, 500], [600, 500], [600, 350], [400, 350], [600, 200], ], ]
这是来自QQ邮箱的假期自动回复邮件。 您好,我已经收到你的邮件,我将仔细阅读来信,祝君身体健康,合家美满!
How to calculate the union of graphs and obtain the vertex coordinates of the union graph to draw a new polygon
before:
[ [ [600, 100], [1000, 100], [1000, 500], [600, 500], ], [ [800, 50], [1200, 350], [400, 350], ], ]
after:
[ [ [600, 100], [735, 100], [800, 50], [865, 100], [1000, 100], [1000, 200], [1200, 350], [1000, 350], [1000, 500], [1000, 500], [600, 500], [600, 350], [400, 350], [600, 200], ], ]