Jump to content

Nth nearest point?


Recommended Posts

You can get N closest points with the vex pcopen() function, or the vop equivalent.

I think they might come in order of proximity, but I'm not sure if it's guaranteed.

Of course you can sort them if need be, but it's a few more lines..

(I've done that for another reason) (Hooray for vex arrays)

http://www.sidefx.com/docs/houdini11.1/vex/functions/pcopen

EDIT: Ah, petz got there first :)

Edited by eetu
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...