# How to test a point is on a face?

**URL:** <https://forum.dynamobim.com/t/how-to-test-a-point-is-on-a-face/1646>\
**Category:** Packages\
**Created:** [June 18, 2015, 1:47am UTC](https://forum.dynamobim.com/t/how-to-test-a-point-is-on-a-face/1646 "2015-06-18T01:47:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iiiuiuiii\_Ann](https://avatars.discourse-cdn.com/v4/letter/i/9fc29f/32.png) [@Iiiuiuiii\_Ann](https://forum.dynamobim.com/u/Iiiuiuiii_Ann)\
**Post date:** [June 18, 2015, 1:47am UTC](https://forum.dynamobim.com/t/how-to-test-a-point-is-on-a-face/1646/1 "2015-06-18T01:47:15Z")

</div>

Hi,everyone

I’m stucked with a problem, can anyone help?

You see I use UV and surface.point at parameter, then points are definitely on a plane. But I don’t want UV points that outside the selected face.How can I remove them, should I use a “RemoveIfNot” node? I don’t know how to make this node works…

There is one more question. You guys can see that the face is cut, so if I want to fill the UV with panels, there will be quads and triangles, how to group them separately and I can use adaptive families?

Thank you!!!

![point on face](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/a/aa28e972247b13caecfdaca139bc05b5e2a7ab49.png)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [June 19, 2015, 7:34pm UTC](https://forum.dynamobim.com/t/how-to-test-a-point-is-on-a-face/1646/2 "2015-06-19T19:34:15Z")

</div>

I would have expected the ‘Point.Project’ node to help. But, when I last tried to sort out a similar issue, it did not.(Probably because the points are already on the surface)

When I get back to sorting it out, I might try to draw vertical lines and get the intersection of the surface and lines. That should give me the points that lie on the surface.

---

<div class="post-metadata">

**Author:** ![Michael\_Kirschner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/michael_kirschner/32/237_2.png) [@Michael\_Kirschner](https://forum.dynamobim.com/u/Michael_Kirschner)\
**Post date:** [June 20, 2015, 10:28am UTC](https://forum.dynamobim.com/t/how-to-test-a-point-is-on-a-face/1646/3 "2015-06-20T10:28:33Z")

</div>

project the points onto the surface. If the projected point is near the original point, then it was originally on the surface, if the projected point moved, then it was not on the surface

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [June 21, 2015, 12:38am UTC](https://forum.dynamobim.com/t/how-to-test-a-point-is-on-a-face/1646/4 "2015-06-21T00:38:00Z")

</div>

Tried again, but Point.Project did not work.

However, obtained the required result in a slightly round about way.

![20150621-2](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/0/0921628ec1ac7ef66372740e2cf6298eaf7e8cbb.jpg)

---

<div class="post-metadata">

**Author:** ![Hien\_Ngoc\_Tran](https://avatars.discourse-cdn.com/v4/letter/h/9de053/32.png) [@Hien\_Ngoc\_Tran](https://forum.dynamobim.com/u/Hien_Ngoc_Tran)\
**Post date:** [July 10, 2015, 3:59am UTC](https://forum.dynamobim.com/t/how-to-test-a-point-is-on-a-face/1646/5 "2015-07-10T03:59:20Z")

</div>

I have a solution for this case, just use node Intersection for Face and Point =\> Point. But i don’t know why the result of this node is emty, can u check for this.

![1](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/e/e05db022fd27734870fa1f2966a56df3bfb93997.jpg)
