# Why does RegionNearest returns Indeterminate?

**URL:** <https://community.wolfram.com/t/why-does-regionnearest-returns-indeterminate/26105>\
**Category:** Questions\
**Tags:** geometry, graphics-and-visualization\
**Created:** [October 30, 2025, 1:09pm UTC](https://community.wolfram.com/t/why-does-regionnearest-returns-indeterminate/26105 "2025-10-30T13:09:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mfroeling](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mfroeling/32/23010_2.png) [@mfroeling](https://community.wolfram.com/u/mfroeling)\
**Post date:** [October 30, 2025, 1:09pm UTC](https://community.wolfram.com/t/why-does-regionnearest-returns-indeterminate/26105/1 "2025-10-30T13:09:15Z")

</div>

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/de3a9fa7-b844-4b1f-b315-89d5f0eacce4)

---

<div class="post-metadata">

**Author:** ![charlesp](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/charlesp/32/18298_2.png) [@charlesp](https://community.wolfram.com/u/charlesp)\
**Post date:** [October 30, 2025, 7:24pm UTC](https://community.wolfram.com/t/why-does-regionnearest-returns-indeterminate/26105/2 "2025-10-30T19:24:22Z")

</div>

Our developers are aware of the issue and are actively working on it. Thank you for reporting it.  
Here is a workaround using the two-argument form of RegionNearest:

```
In[27]:= RegionNearest[regionLocal, pointsTemp[[1 ;; 5]]]

Out[27]= {{54.6271, 79.8945, 217.914}, {53.717, 80.0017, 228.54}, {54.3457, 79.5789, 223.376}, {56.4642, 101.333, 106.298}, {58.8283, 85.7725, 204.949}}

```

Hope this is helpful.

---

<div class="post-metadata">

**Author:** ![mfroeling](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mfroeling/32/23010_2.png) [@mfroeling](https://community.wolfram.com/u/mfroeling)\
**Post date:** [October 31, 2025, 7:42am UTC](https://community.wolfram.com/t/why-does-regionnearest-returns-indeterminate/26105/3 "2025-10-31T07:42:58Z")

</div>

Very helpful and a very simple solution!

Somehow for Nearest and RegionNearest I always use the operator form, actually never thought of testing the normal definition. Also did not realize (or test) that the function is Listable, which actually seems logical since Nearest also allows this.

Thanks!

---

<div class="post-metadata">

**Author:** ![mfroeling](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mfroeling/32/23010_2.png) [@mfroeling](https://community.wolfram.com/u/mfroeling)\
**Post date:** [November 9, 2025, 1:26pm UTC](https://community.wolfram.com/t/why-does-regionnearest-returns-indeterminate/26105/4 "2025-11-09T13:26:48Z")

</div>

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/9b5b4a99-fa73-41e1-999d-5788ac5a748a)
