pciterate finding second value

   1214   0   0
User Avatar
Member
10 posts
Joined: May 2016
Offline
Hi all,

I was wondering if someone could clarify something please. I was looking at a file posted by Tomas Slancik that used pcopen and pciterate to return the second closest point to a position for measuring point distances.

The method used two pciterate nodes into an AND node as the condition in the if statement. What confuses me is why this works!? The more pciterate nodes you add you can return the third, fourth closest etc.

In my mind each pciterate starts at the first index and ticks through synchronously, but that doesn't appear to be the case. Any insight would be greatly appreciated.

Attachments:
dist_between_points_example.hipnc (124.0 KB)

  • Quick Links