Group Abstract Group Abstract

Message Boards Message Boards

0
|
33 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Why does RegionNearest returns Indeterminate?

POSTED BY: Martijn Froeling
2 Replies

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!

POSTED BY: Martijn Froeling

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.

POSTED BY: Charles Pooh
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard