point neightbours function: how to detect neighbours accross primitives?

   1329   5   0
User Avatar
Member
1004 posts
Joined: April 2017
Offline
Hi!

I would like a way to detect what point in my neighbours array that are across a primitive instead of being on same border.

-Olivier

Attachments:
neighbours_across.jpg (75.8 KB)

User Avatar
Member
1004 posts
Joined: April 2017
Offline
Anyone?

-Olivier
User Avatar
Member
2036 posts
Joined: Sept. 2015
Offline
if your primitives are always a parallelogram then your last point of the array will always be the opposite corner, since it is always the farthest.

neighbours function returns a list from nearest to farthest.
User Avatar
Member
1004 posts
Joined: April 2017
Offline
That's good to know!

Thanks.

-Olivier
User Avatar
Member
8525 posts
Joined: July 2007
Online
BabaJ
neighbours function returns a list from nearest to farthest.
I don't think this is true
I'd say neighbours order is dependent on topology rather than distance (unlike distance based point cloud searches pcfind, nearpoints, etc. where this would apply )

but to get the farthest neighbour, you can run them through the loop and find it that way
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
2036 posts
Joined: Sept. 2015
Offline
I don't think this is true

You are right…I was mixing it up with the nearpoints function
  • Quick Links