Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Color
Curve
Domain
List
Mesh
Number
Plane
Point
SubD
Surface
Transform
Twisted Box
Vector

Find the closest target vector by angle to a reference vector.

Inputs

NameIDDescriptionType
ReferenceRReference vector to search fromVector
TargetsTTarget vector set to searchVector
Keep LengthKKeep the length of the reference vectorBoolean

Outputs

NameIDDescriptionType
ClosestCClosest target vector by angle to the reference vectorVector
IndexiIndex of the closest target vector by angle to the reference vectorInteger
AngleAAngle between the reference vector and closest target vector in radiansNumber

Video Tutorials

Site design © Robin Rodricks.   Pufferfish and associated data © 2020 Michael Pryor.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service