This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set Wrangle to 'Run Over Points'. | |
// Collect closest pts for each pt, based on radius and max pts. | |
// Includes user-managed channels for radius and max pts. | |
// Note that this list will include the current point being run | |
// through this point wrangle. | |
int pts[] = pcfind(0,"P",@P,chf('search_radius'),chi('max_points')); | |
// Used to visualize list in geo spreadsheet; for debugging. | |
i[]@pts = pts; |