Compute union of two arbitrary shapes

后端 未结 6 1956

I\'m working on an application, I need to be able to combine two overlapping arbitrary shapes as drawn by the user. This would be a Union operation on the two shapes. The re

6条回答
  •  梦毁少年i
    2020-12-30 11:51

    There seems to be also a javascript api:

    https://github.com/bjornharrtell/jsts/

    which seems to implement the jts standard and has several differnt implementations:

    http://tsusiatsoftware.net/jts/jts-links.html#ports

    all of them should be able to perform union etc:

    http://tsusiatsoftware.net/jts/JTSUser/contents.html

    But csg.js is the most impressive project IMO

    https://github.com/evanw/csg.js

提交回复
热议问题