We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
Color
Curve
Domain
List
Mesh
Number
Plane
Point
SubD
Surface
Transform
Twisted Box
Vector

Closest 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 © 2024 Michael Pryor.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service