Grasshopper

algorithmic modeling for Rhino

License
Params
Algorithms
Cross Section
Export
Load
Material
Model
Results
Utilities

Nearest Neighbors (karamba)

Component Index > Karamba > Utilities > Nearest Neighbors (karamba)

Connects each node to a given number of nearest neighbor nodes or neighbors within a specified distance.

Inputs

NameIDDescriptionType
From PointsFromPtsList of points where connections can originate.Point
To PointsToPtsList of points where connections can end.Point
Number of neighborsNNNumber of nearest neighbor connections for each 'From Point'. Input -1 if number of neighbors need not to be considered.Integer
Limit distanceLDistLimit distance of points to be considered as neighbors for each 'From Point'. Input -1 if distance between neighbors need not to be considered.Number

Outputs

NameIDDescriptionType
LineLOutput LinesLine
ConnectivityCOutput ConnectivityInteger
PointsPTsJoined list of 'From Points' and 'To Points' which the connectivity information refers to.Point

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service