# Extract surrounded surface

**URL:** <https://discourse.threejs.org/t/extract-surrounded-surface/42538>\
**Category:** Questions\
**Tags:** geometry\
**Created:** [September 14, 2022, 11:24am UTC](https://discourse.threejs.org/t/extract-surrounded-surface/42538 "2022-09-14T11:24:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aqua](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Aqua](https://discourse.threejs.org/u/Aqua)\
**Post date:** [September 14, 2022, 11:24am UTC](https://discourse.threejs.org/t/extract-surrounded-surface/42538/1 "2022-09-14T11:24:59Z")

</div>

Hello,

I would like to extract the mesh wish surrounded by picked points. I couldn’t find a way to do that.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/3/e/3e3e23f7f3584f40da93c6299c91407c3455843b.jpeg)  
On this screenshot, we can see the mesh and the point picked, I would like to extract a partial mesh “inside” the points.

Is there an easy to do that ? I actually have my “complete” mesh and an array of points (picked on the mesh).

Thank you !

---

<div class="post-metadata">

**Author:** ![hofk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hofk/32/44944_2.png) [@hofk](https://discourse.threejs.org/u/hofk)\
**Post date:** [September 14, 2022, 3:58pm UTC](https://discourse.threejs.org/t/extract-surrounded-surface/42538/2 "2022-09-14T15:58:06Z")

</div>

Maybe you can adapt something from this example for your problem?

From the [Collection of examples from discourse.threejs.org](https://discourse.threejs.org/t/collection-of-examples-from-discourse-threejs-org/4315)

authors: @ma-ee-ku, @prisoner849  
[SelectFacesWithinRadius](https://hofk.de/main/discourse.threejs/2019/SelectFacesWithinRadius/SelectFacesWithinRadius.html)

---

<div class="post-metadata">

**Author:** ![prisoner849](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/prisoner849/32/535_2.png) [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Post date:** [September 14, 2022, 4:24pm UTC](https://discourse.threejs.org/t/extract-surrounded-surface/42538/3 "2022-09-14T16:24:01Z")

</div>

@Aqua Have a look: [Three-mesh-bvh: A plugin for fast geometry raycasting and spatial queries!](https://discourse.threejs.org/t/three-mesh-bvh-a-plugin-for-fast-geometry-raycasting-and-spatial-queries/26394)
