# Detect shapes split by intersecting lines

**URL:** <https://discourse.processing.org/t/detect-shapes-split-by-intersecting-lines/31641>\
**Category:** Coding Questions\
**Created:** [August 9, 2021, 8:37am UTC](https://discourse.processing.org/t/detect-shapes-split-by-intersecting-lines/31641 "2021-08-09T08:37:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![micycle](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micycle/32/201_2.png) [@micycle](https://discourse.processing.org/u/micycle)\
**Post date:** [August 9, 2021, 9:18am UTC](https://discourse.processing.org/t/detect-shapes-split-by-intersecting-lines/31641/3 "2021-08-09T09:18:11Z")

</div>

I was working on this just last night 😃 .

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/a/a5c9dd2812351778b6407a645aee1d5648753539.png)

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/3672ee69e2c294c6862fb3587bfe4f086247fdcc.png) ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/df4eb0f34afce2e393c3474655bc875181311fc7.png)

The feature will be included in the next release of [Processing Geometry Suite](https://discourse.processing.org/t/processing-geometry-suite/29924) (for now the code is in the [dev](https://github.com/micycle1/PGS/tree/dev) branch – you don’t even need to compute points of intersection, simply provide a list of line segment vertices).

---

_[View the full topic](https://discourse.processing.org/t/detect-shapes-split-by-intersecting-lines/31641)._
