Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Domain
Matrix
Operators
Polynomials
Script
Time
Trig
Util

Find the first domain that contains a specific value

Inputs

NameIDDescriptionType
DomainsDCollection of domains to searchDomain
NumberNNumber to testNumber
StrictSStrict comparison, if true then the value must be on the interior of a domainBoolean

Outputs

NameIDDescriptionType
IndexIIndex of first domain that includes the specified valueInteger
NeighbourNIndex of domain that is closest to the specified valueInteger

Site design © Robin Rodricks.   Grasshopper Maths and associated data © 2022 Robert McNeel & Associates.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service