'How to split polygon path horizontal and vertically using point path or line string path using JS?
On the first image, marked cuts. On the second image, the tool which is used to cut the slices on the polygon and also showing its length.


Here are the reference code which we are using to do the cutting task https://observablehq.com/@alexbol99/cut-polygon-with-line
But this code can do cutting only for single polygon using single line coordinates. Need to create something like this on web https://support.measureflooring.com/hc/en-us/articles/360020694033-Add-T-Seam They provide desktop application only.
Please suggest. Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
